mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
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
b186dbf6a9
commit
2da1f918bf
@ -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>
|
2010-01-21 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
* godmode/setup/setup.php: fix bug that overwrite the row of "Attachment
|
* 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".
|
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 */
|
/* Help to debug problems. Override global PHP configuration */
|
||||||
|
|
||||||
|
if ($develop_bypass != 1) {
|
||||||
// error_reporting(E_ALL);
|
// error_reporting(E_ALL);
|
||||||
|
|
||||||
if (strnatcmp(phpversion(),'5.2.11') >= 0)
|
if (strnatcmp(phpversion(),'5.2.11') >= 0)
|
||||||
@ -40,6 +41,12 @@ else
|
|||||||
|
|
||||||
ini_set("display_errors", 0);
|
ini_set("display_errors", 0);
|
||||||
ini_set("error_log", $config["homedir"]."/pandora_console.log");
|
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
|
// Set a default timezone default if not configured
|
||||||
// to avoid warnings and bad timestamp calculation in PHP > 5.1
|
// to avoid warnings and bad timestamp calculation in PHP > 5.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user