1 --- phpPgAdmin-4.0.1/libraries/lib.inc.php~ 2005-12-02 17:19:47.000000000 +0200
2 +++ phpPgAdmin-4.0.1/libraries/lib.inc.php 2005-12-02 17:24:01.259851274 +0200
4 exit(sprintf('Version of PHP not supported. Please upgrade to version %s or later.', $phpMinVer));
6 // Check to see if the configuration file exists, if not, explain
7 - if (file_exists('conf/config.inc.php')) {
8 + if (file_exists('/etc/webapps/phpPgAdmin/config.inc.php')) {
10 - include('./conf/config.inc.php');
11 + include('/etc/webapps/phpPgAdmin/config.inc.php');
14 - echo 'Configuration error: Copy conf/config.inc.php-dist to conf/config.inc.php and edit appropriately.';
15 + echo 'Configuration error: Copy conf/config.inc.php-dist to /etc/webapps/phpPgAdmin/config.inc.php and edit appropriately.';
19 --- phpPgAdmin-4.0.1/classes/plugins/Plugin.php~ 2005-06-16 17:40:12.000000000 +0300
20 +++ phpPgAdmin-4.0.1/classes/plugins/Plugin.php 2005-12-02 17:25:54.525481589 +0200
22 // Read in configuration
23 if ($this->config !== null) {
25 - include('./conf/' . $name . '.inc.php');
26 + include('/etc/webapps/phpPgAdmin/' . $name . '.inc.php');
30 --- phpPgAdmin-4.0.1/libraries/lib.inc.php 2005-12-02 17:38:56.000000000 +0200
31 +++ phpPgAdmin-4.0.1-org/libraries/lib.inc.php 2005-12-02 17:37:20.000000000 +0200
33 include_once('./lang/translations.php');
35 // Set error reporting level to max
36 - error_reporting(E_ALL);
37 + error_reporting(E_ALL & ~E_NOTICE);
40 $appName = 'phpPgAdmin';