diff options
Diffstat (limited to 'langs.php')
-rw-r--r-- | langs.php | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -2,14 +2,17 @@ /** */ -if ((isset($_ENV['APP_MODE']) && $_ENV['APP_MODE'] !== 'prod') - || $_SERVER['HTTP_HOST'] == 'www-test.mageia.org') { +if (isset($_ENV['APP_MODE']) && $_ENV['APP_MODE'] !== 'prod') { + ini_set('error_reporting', E_ALL); + ini_set('show_errors', true); + ini_set('display_errors', true); +} + +if ($_SERVER['HTTP_HOST'] == 'www-test.mageia.org') { ini_set('error_reporting', E_ALL); ini_set('show_errors', true); ini_set('display_errors', true); ini_set('log_errors', true); - //ini_set('error_log', apache_getenv('ErrorLog')); - echo apache_getenv('ErrorLog'); } $g_app_root = realpath(dirname(__FILE__)); |