Commit 84c22f0b authored by Ghislain Loas's avatar Ghislain Loas
Browse files

Force exclusion of PHPUnit extensions in Zend loader

parent 9bae54f1
......@@ -79,7 +79,7 @@ class Zend_Loader
$file = basename($file);
self::loadFile($file, $dirs, true);
} else {
if (false !== strpos($file, '\\'))
if ((false !== strpos($file, '\\')) || (false !== strpos($file, 'PHPUnit/Extensions')))
return;
self::_securityCheck($file);
include_once $file;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment