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

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

changes since 2013, mostly for airvata/thrift

File size: 1.1 KB
Line 
1<?php
2$home = exec( "ls -d ~us3" );
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
14// Global DB credentials
15$guser = "gfac";
16$gpasswd = "backend";
17$gDB = "gfac";
18
19$serviceURL = "http://gridfarm005.ucs.indiana.edu:8080/ogce-rest/job";
20$serviceURL2 = "http://gridfarm005.ucs.indiana.edu:9090/ogce-rest/job";
21
22// US3 DB credentials
23$user = "us3php";
24$passwd = "us3";
25
26$org_name = "UltraScan3 Admin";
27$admin_email = "us3-admin@biochem.uthscsa.edu";
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.