We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97a1edc commit b1a1a6eCopy full SHA for b1a1a6e
1 file changed
source/Autoload.php
@@ -37,7 +37,7 @@ public static function directory($directory, $namespaceRoot)
37
}
38
$extensionList = array('php', 'class.php');
39
foreach ($extensionList as $extension) {
40
- $file = $directory . '/' . $className . '.' . $extension;
+ $file = $directory . DIRECTORY_SEPARATOR . $className . '.' . $extension;
41
if (is_file($file)) {
42
require_once($file);
43
0 commit comments