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

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

changes since 2013, mostly for airvata/thrift

File size: 1.1 KB
RevLine 
[1]1<?php
[6]2$home = exec( "ls -d ~us3" );
3$home_remote = "$home"; // for local submission
[1]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;
[6]10//$dbhost = "uslims3.uthscsa.edu";
[1]11$dbhost = "localhost";
12$self = basename( $_SERVER['PHP_SELF'] );
13
14// Global DB credentials
[6]15$guser = "gfac";
16$gpasswd = "backend";
17$gDB = "gfac";
[1]18
[6]19$serviceURL = "http://gridfarm005.ucs.indiana.edu:8080/ogce-rest/job";
20$serviceURL2 = "http://gridfarm005.ucs.indiana.edu:9090/ogce-rest/job";
[1]21
22// US3 DB credentials
[6]23$user = "us3php";
24$passwd = "us3";
[1]25
26$org_name = "UltraScan3 Admin";
[6]27$admin_email = "us3-admin@biochem.uthscsa.edu";
[1]28
29// This is really a library routine
30
31date_default_timezone_set( 'America/Chicago' );
32
33function 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.