diff --git a/core/Core.php b/core/Core.php index a648c3106..8b24cc106 100755 --- a/core/Core.php +++ b/core/Core.php @@ -38,7 +38,7 @@ /////////////////////////////////////////////////////////////////////////////// // ENVIRONMENT CONFIG -if(defined('E_DEPRECATED')) error_reporting(E_ALL ^ E_DEPRECATED); +if(defined('E_DEPRECATED')) error_reporting(E_ALL & ~(E_DEPRECATED | E_STRICT)); else error_reporting(E_ALL); /* * This is for versions of PHP prior to version 5.2 diff --git a/core/ManifestBuilder.php b/core/ManifestBuilder.php index fdc936cff..bb9935029 100644 --- a/core/ManifestBuilder.php +++ b/core/ManifestBuilder.php @@ -195,9 +195,8 @@ class ManifestBuilder { // locate and include the exclude files $topLevel = scandir($baseDir); foreach($topLevel as $file) { - if($file[0] == '.') continue + if($file[0] == '.') continue; - $fullPath = ''; $fullPath = $baseDir . '/' . $file; if(@is_dir($fullPath . '/') && file_exists($fullPath . '/_exclude.php')) {