2010-01-21 Miguel de Dios <miguel.dedios@artica.es>
* include/config_process.php: use the flag "$develop_bypass" to change the method to show the php messages for developing purposes. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2297 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
47356dd96a
commit
82f72bb3e3
|
@ -1,3 +1,7 @@
|
|||
2010-01-21 Miguel de Dios <miguel.dedios@artica.es>
|
||||
* include/config_process.php: use the flag "$develop_bypass" to change the
|
||||
method to show the php messages for developing purposes.
|
||||
|
||||
2010-01-21 Miguel de Dios <miguel.dedios@artica.es>
|
||||
* godmode/setup/setup.php: fix bug that overwrite the row of "Attachment
|
||||
store" field when put the row of field "IP list with API access".
|
||||
|
|
|
@ -27,6 +27,7 @@ $pandora_version = 'v3.1-dev';
|
|||
|
||||
/* Help to debug problems. Override global PHP configuration */
|
||||
|
||||
if ($develop_bypass != 1) {
|
||||
// error_reporting(E_ALL);
|
||||
|
||||
if (strnatcmp(phpversion(),'5.2.11') >= 0)
|
||||
|
@ -40,6 +41,12 @@ else
|
|||
|
||||
ini_set("display_errors", 0);
|
||||
ini_set("error_log", $config["homedir"]."/pandora_console.log");
|
||||
}
|
||||
else {
|
||||
error_reporting(E_ALL);
|
||||
ini_set("display_errors", 1);
|
||||
ini_set("error_log", $config["homedir"]."/pandora_console.log");
|
||||
}
|
||||
|
||||
// Set a default timezone default if not configured
|
||||
// to avoid warnings and bad timestamp calculation in PHP > 5.1
|
||||
|
|
Loading…
Reference in New Issue