git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9277512
)
Fix autoloader to work with helper classes on linux
author
gggeek
<giunta.gaetano@gmail.com>
Thu, 2 Apr 2015 23:48:56 +0000
(
00:48
+0100)
committer
gggeek
<giunta.gaetano@gmail.com>
Thu, 2 Apr 2015 23:48:56 +0000
(
00:48
+0100)
src/Autoloader.php
patch
|
blob
|
history
diff --git
a/src/Autoloader.php
b/src/Autoloader.php
index
b03b1cb
..
77ba30f
100644
(file)
--- a/
src/Autoloader.php
+++ b/
src/Autoloader.php
@@
-29,7
+29,7
@@
class Autoloader
return;
}
- if (is_file($file = __DIR__ . str_replace(
'PhpXmlRpc\\'
, '/', $class).'.php')) {
+ if (is_file($file = __DIR__ . str_replace(
array('PhpXmlRpc\\', '\\')
, '/', $class).'.php')) {
require $file;
}
}