mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix warnings on safe mode
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40503 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
e4e971a18f
commit
56c9becd0f
@ -33,7 +33,7 @@ require_once(MANIFEST_FILE);
|
||||
$hasPhpUnit = false;
|
||||
$paths = explode(PATH_SEPARATOR, ini_get('include_path'));
|
||||
foreach($paths as $path) {
|
||||
if(file_exists("$path/PHPUnit/Framework.php")) $hasPhpUnit = true;
|
||||
if(@file_exists("$path/PHPUnit/Framework.php")) $hasPhpUnit = true;
|
||||
}
|
||||
|
||||
if($hasPhpUnit) {
|
||||
|
@ -4,7 +4,7 @@
|
||||
$hasPhpUnit = false;
|
||||
$paths = explode(PATH_SEPARATOR, ini_get('include_path'));
|
||||
foreach($paths as $path) {
|
||||
if(file_exists("$path/PHPUnit/Framework.php")) $hasPhpUnit = true;
|
||||
if(@file_exists("$path/PHPUnit/Framework.php")) $hasPhpUnit = true;
|
||||
}
|
||||
|
||||
if($hasPhpUnit) {
|
||||
|
Loading…
Reference in New Issue
Block a user