| Line |  | 
|---|
| 1 | <?php | 
|---|
| 2 | $home        = "/home/us3"; | 
|---|
| 3 | $home_remote = "/home/us3";                             // 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      = "localhost"; | 
|---|
| 11 | $self        = basename( $_SERVER['PHP_SELF'] ); | 
|---|
| 12 |  | 
|---|
| 13 | // Global DB credentials | 
|---|
| 14 | $guser       = ""; | 
|---|
| 15 | $gpasswd     = ""; | 
|---|
| 16 | $gDB         = ""; | 
|---|
| 17 |  | 
|---|
| 18 | // $serviceURL  = "http://gw33.quarry.iu.teragrid.org:8080/ogce-rest/job"; | 
|---|
| 19 | $serviceURL  = "http://gf5.ucs.indiana.edu:8080/ogce-rest/job"; | 
|---|
| 20 |  | 
|---|
| 21 | // US3 DB credentials | 
|---|
| 22 | $user        = ""; | 
|---|
| 23 | $passwd      = ""; | 
|---|
| 24 |  | 
|---|
| 25 | $org_name    = "UltraScan3 Admin"; | 
|---|
| 26 | //$admin_email = "us3-admin@biochem.uthscsa.edu"; | 
|---|
| 27 | $admin_email = "dzollars@gmail.com"; | 
|---|
| 28 |  | 
|---|
| 29 | // This is really a library routine | 
|---|
| 30 |  | 
|---|
| 31 | date_default_timezone_set( 'America/Chicago' ); | 
|---|
| 32 |  | 
|---|
| 33 | function write_log( $message ) | 
|---|
| 34 | { | 
|---|
| 35 | global $logfile; | 
|---|
| 36 |  | 
|---|
| 37 | $log = fopen( $logfile, "a" ); | 
|---|
| 38 | fwrite( $log, date( "Y-m-d H:i:s " ) . $message . "\n" ); | 
|---|
| 39 | fclose( $log ); | 
|---|
| 40 | } | 
|---|
| 41 | ?> | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.