mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Ent 7059 no existe el console log en nuevas instalaciones
This commit is contained in:
parent
4c1eaf929b
commit
c69b1f6282
@ -40,6 +40,7 @@ if (!is_dir($config['homedir'])) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Help to debug problems. Override global PHP configuration
|
// Help to debug problems. Override global PHP configuration
|
||||||
global $develop_bypass;
|
global $develop_bypass;
|
||||||
if ((int) $develop_bypass === 1) {
|
if ((int) $develop_bypass === 1) {
|
||||||
@ -164,6 +165,10 @@ if (session_status() === PHP_SESSION_NONE) {
|
|||||||
config_process_config();
|
config_process_config();
|
||||||
config_prepare_session();
|
config_prepare_session();
|
||||||
|
|
||||||
|
if ((bool) $config['console_log_enabled'] === true) {
|
||||||
|
error_reporting(E_ALL ^ E_NOTICE);
|
||||||
|
}
|
||||||
|
|
||||||
// Set a the system timezone default
|
// Set a the system timezone default
|
||||||
if ((!isset($config['timezone'])) or ($config['timezone'] == '')) {
|
if ((!isset($config['timezone'])) or ($config['timezone'] == '')) {
|
||||||
$config['timezone'] = 'Europe/Berlin';
|
$config['timezone'] = 'Europe/Berlin';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user