]> git.pld-linux.org Git - packages/phpPgAdmin.git/blame - phpPgAdmin-config.patch
- updated to 5.1, not tested, release 0.1
[packages/phpPgAdmin.git] / phpPgAdmin-config.patch
CommitLineData
8a8a809b
MK
1diff -ur phpPgAdmin-5.1.orig/libraries/lib.inc.php phpPgAdmin-5.1/libraries/lib.inc.php
2--- phpPgAdmin-5.1.orig/libraries/lib.inc.php 2013-04-14 22:59:58.000000000 +0000
3+++ phpPgAdmin-5.1/libraries/lib.inc.php 2013-08-05 07:57:03.087116156 +0000
4@@ -10,7 +10,7 @@
5 include_once('./lang/translations.php');
6
7 // Set error reporting level to max
8- error_reporting(E_ALL);
9+ error_reporting(E_ALL & ~E_NOTICE);
10
11 // Application name
12 $appName = 'phpPgAdmin';
05a1c9f3 13@@ -27,12 +27,12 @@
4077907c
ER
14 exit(sprintf('Version of PHP not supported. Please upgrade to version %s or later.', $phpMinVer));
15
16 // Check to see if the configuration file exists, if not, explain
17- if (file_exists('conf/config.inc.php')) {
18+ if (file_exists('/etc/webapps/phpPgAdmin/config.inc.php')) {
19 $conf = array();
20- include('./conf/config.inc.php');
21+ include('/etc/webapps/phpPgAdmin/config.inc.php');
22 }
23 else {
24- echo 'Configuration error: Copy conf/config.inc.php-dist to conf/config.inc.php and edit appropriately.';
25+ echo 'Configuration error: Copy conf/config.inc.php-dist to /etc/webapps/phpPgAdmin/config.inc.php and edit appropriately.';
26 exit;
27 }
4077907c 28
This page took 0.144148 seconds and 4 git commands to generate.