diff options
author | Romain d'Alverny <rda@mageia.org> | 2011-12-20 14:32:49 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2011-12-20 14:32:49 +0000 |
commit | ca0119ac786d59376a2e7e70aa5d568078da0f63 (patch) | |
tree | 5c2f49719645ba8f3fda486d832a8326be63e8fd /langs.php | |
parent | 1846a70a5b572f38032cff930256e40171242173 (diff) | |
download | www-ca0119ac786d59376a2e7e70aa5d568078da0f63.tar www-ca0119ac786d59376a2e7e70aa5d568078da0f63.tar.gz www-ca0119ac786d59376a2e7e70aa5d568078da0f63.tar.bz2 www-ca0119ac786d59376a2e7e70aa5d568078da0f63.tar.xz www-ca0119ac786d59376a2e7e70aa5d568078da0f63.zip |
separate test cases
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__)); |