summaryrefslogtreecommitdiffstats
path: root/php-irodsphp-3.3.0-configpath.patch
blob: d815f339a9b76679e0977c0c7bda891b0720f1a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- irods/prods/src/ProdsConfig.inc.php	2014-01-04 15:06:19.850730474 -0800
+++ irods/prods/src/ProdsConfig.inc.php.new	2014-01-04 15:07:29.058508522 -0800
@@ -9,11 +9,11 @@
 
 /**#@-*/
 
-if (file_exists(__DIR__ . "/prods.ini")) {
-  $GLOBALS['PRODS_CONFIG'] = parse_ini_file(__DIR__ . "/prods.ini", true);
+if (file_exists("/etc/php-irodsphp/prods.ini")) {
+  $GLOBALS['PRODS_CONFIG'] = parse_ini_file("/etc/php-irodsphp/prods.ini", true);
 }
 else {
   $GLOBALS['PRODS_CONFIG'] = array();
 }
   
-?>
\ No newline at end of file
+?>