Skip to content
Snippets Groups Projects
Commit 560210ea authored by Giovannoni Laurent's avatar Giovannoni Laurent
Browse files

fix: pb with bitmask of error reporting

parent 28b20f26
No related branches found
No related tags found
No related merge requests found
......@@ -185,13 +185,13 @@ class Install extends functions
public function isIniErrorRepportingRequirements()
{
if (version_compare(PHP_VERSION, '5.4') >= 0) {
if (ini_get('error_reporting') <> 22519) {
if (ini_get('error_reporting') <> 24567) {
return false;
} else {
return true;
}
} else {
if (ini_get('error_reporting') <> 24567) {
if (ini_get('error_reporting') <> 22519) {
return false;
} else {
return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment