mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
commit
cc59effef6
@ -38,7 +38,7 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// ENVIRONMENT CONFIG
|
// 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);
|
else error_reporting(E_ALL);
|
||||||
/*
|
/*
|
||||||
* This is for versions of PHP prior to version 5.2
|
* This is for versions of PHP prior to version 5.2
|
||||||
|
@ -195,9 +195,8 @@ class ManifestBuilder {
|
|||||||
// locate and include the exclude files
|
// locate and include the exclude files
|
||||||
$topLevel = scandir($baseDir);
|
$topLevel = scandir($baseDir);
|
||||||
foreach($topLevel as $file) {
|
foreach($topLevel as $file) {
|
||||||
if($file[0] == '.') continue
|
if($file[0] == '.') continue;
|
||||||
|
|
||||||
$fullPath = '';
|
|
||||||
$fullPath = $baseDir . '/' . $file;
|
$fullPath = $baseDir . '/' . $file;
|
||||||
|
|
||||||
if(@is_dir($fullPath . '/') && file_exists($fullPath . '/_exclude.php')) {
|
if(@is_dir($fullPath . '/') && file_exists($fullPath . '/_exclude.php')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user