From 2b1a82618550354b9bfa486eff787d422ea78570 Mon Sep 17 00:00:00 2001 From: ramonn Date: Tue, 1 Oct 2013 12:53:38 +0000 Subject: [PATCH] 2013-10-01 Ramon Novoa * index.php, include/config_process.php: Removed a redeclaration of develop_bypass and set it to 0 by default. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8838 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/include/config_process.php | 4 +--- pandora_console/index.php | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index d3e33fdeee..9bc8a2c125 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2013-10-01 Ramon Novoa + + * index.php, + include/config_process.php: Removed a redeclaration of develop_bypass + and set it to 0 by default. + 2013-09-30 Sergio Martin * include/functions_config.php: Improve the db maintenance check diff --git a/pandora_console/include/config_process.php b/pandora_console/include/config_process.php index d0d2a3826f..02b0a892d3 100644 --- a/pandora_console/include/config_process.php +++ b/pandora_console/include/config_process.php @@ -35,10 +35,8 @@ else { ini_set("date.timezone", $script_tz); } -global $develop_bypass; /* Help to debug problems. Override global PHP configuration */ -$develop_bypass = 0; - +global $develop_bypass; if ($develop_bypass != 1) { // error_reporting(E_ALL); diff --git a/pandora_console/index.php b/pandora_console/index.php index 9233d71684..97e4fe8ebb 100644 --- a/pandora_console/index.php +++ b/pandora_console/index.php @@ -21,7 +21,7 @@ if (function_exists ('mb_internal_encoding')) { // Set to 1 to do not check for installer or config file (for development!). // Activate gives more error information, not useful for production sites -$develop_bypass = 1; +$develop_bypass = 0; if ($develop_bypass != 1) { // If no config file, automatically try to install