]> git.pld-linux.org Git - packages/phpPgAdmin.git/commitdiff
- update location of config
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 2 Dec 2005 15:39:40 +0000 (15:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    phpPgAdmin-config.patch -> 1.1

phpPgAdmin-config.patch [new file with mode: 0644]

diff --git a/phpPgAdmin-config.patch b/phpPgAdmin-config.patch
new file mode 100644 (file)
index 0000000..f942e82
--- /dev/null
@@ -0,0 +1,29 @@
+--- phpPgAdmin-4.0.1/libraries/lib.inc.php~    2005-12-02 17:19:47.000000000 +0200
++++ phpPgAdmin-4.0.1/libraries/lib.inc.php     2005-12-02 17:24:01.259851274 +0200
+@@ -26,12 +26,12 @@
+               exit(sprintf('Version of PHP not supported. Please upgrade to version %s or later.', $phpMinVer));
+       // Check to see if the configuration file exists, if not, explain
+-      if (file_exists('conf/config.inc.php')) {
++      if (file_exists('/etc/webapps/phpPgAdmin/config.inc.php')) {
+               $conf = array();
+-              include('./conf/config.inc.php');
++              include('/etc/webapps/phpPgAdmin/config.inc.php');
+       }
+       else {
+-              echo 'Configuration error: Copy conf/config.inc.php-dist to conf/config.inc.php and edit appropriately.';
++              echo 'Configuration error: Copy conf/config.inc.php-dist to /etc/webapps/phpPgAdmin/config.inc.php and edit appropriately.';
+               exit;
+       }
+--- phpPgAdmin-4.0.1/classes/plugins/Plugin.php~       2005-06-16 17:40:12.000000000 +0300
++++ phpPgAdmin-4.0.1/classes/plugins/Plugin.php        2005-12-02 17:25:54.525481589 +0200
+@@ -21,7 +21,7 @@
+               // Read in configuration
+               if ($this->config !== null) {
+                       global $conf;
+-                      include('./conf/' . $name . '.inc.php');                        
++                      include('/etc/webapps/phpPgAdmin/' . $name . '.inc.php');                       
+               }
+       }
This page took 0.070026 seconds and 4 git commands to generate.