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
9bae54f1
Commit
9bae54f1
authored
Mar 28, 2014
by
Patrick Barroca
😁
Browse files
Detect ZF Loader incompatible filename containing namespace marker.
phpunit 4 compatibility
parent
3f3c10b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
library/Zend/Loader.php
library/Zend/Loader.php
+4
-2
No files found.
library/Zend/Loader.php
View file @
9bae54f1
...
...
@@ -79,8 +79,10 @@ class Zend_Loader
$file
=
basename
(
$file
);
self
::
loadFile
(
$file
,
$dirs
,
true
);
}
else
{
self
::
_securityCheck
(
$file
);
include_once
$file
;
if
(
false
!==
strpos
(
$file
,
'\\'
))
return
;
self
::
_securityCheck
(
$file
);
include_once
$file
;
}
if
(
!
class_exists
(
$class
,
false
)
&&
!
interface_exists
(
$class
,
false
))
{
...
...
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