mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
commit
cc59effef6
@ -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
|
||||
|
@ -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')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user