source: trunk/listen-config.php.template@ 23

Last change on this file since 23 was 21, checked in by gegorbet, 9 years ago

correct base us3 directory in config file

File size: 1.4 KB
Line 
1<?php
2$home = exec( "ls -d ~us3/lims" );
3$home_remote = "$home"; // for local submission
4$work = "$home/work";
5$work_remote = "$home_remote/work";
6$pipe = "$home/etc/us3-pipe";
7$logfile = "$home/etc/udp.log";
8$submit_dir = '/srv/www/htdocs/uslims3/uslims3_data'; // LIMS submit files dir
9$listen_port = 12233;
10//$dbhost = "uslims3.uthscsa.edu";
11$dbhost = "localhost";
12$self = basename( $_SERVER['PHP_SELF'] );
13$class_dir_p = '/srv/www/htdocs/common/class/'; // Class dir for production
14$class_dir_d = '/srv/www/htdocs/common/class_devel/'; // Class dir for development
15$class_dir = $class_dir_p; // Class dir default
16
17// Global DB credentials
18$guser = "gfac";
19$gpasswd = "backend";
20$gDB = "gfac";
21
22$serviceURL = "http://gridfarm005.ucs.indiana.edu:8080/ogce-rest/job";
23$serviceURL2 = "http://gridfarm005.ucs.indiana.edu:9090/ogce-rest/job";
24
25// US3 DB credentials
26$user = "us3php";
27$passwd = "us3";
28
29$org_name = "UltraScan3 Admin";
30$admin_email = "us3-admin@biochem.uthscsa.edu";
31
32// This is really a library routine
33
34date_default_timezone_set( 'America/Chicago' );
35
36function write_log( $message )
37{
38 global $logfile;
39
40 $log = fopen( $logfile, "a" );
41 fwrite( $log, date( "Y-m-d H:i:s " ) . $message . "\n" );
42 fclose( $log );
43}
44?>
Note: See TracBrowser for help on using the repository browser.