Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
afi
zf
Commits
84c22f0b
Commit
84c22f0b
authored
Apr 17, 2014
by
Ghislain Loas
Browse files
Force exclusion of PHPUnit extensions in Zend loader
parent
9bae54f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
library/Zend/Loader.php
library/Zend/Loader.php
+1
-1
No files found.
library/Zend/Loader.php
View file @
84c22f0b
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment