Skip to content

Commit b1a1a6e

Browse files
committed
Fix Bug
1 parent 97a1edc commit b1a1a6e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/Autoload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static function directory($directory, $namespaceRoot)
3737
}
3838
$extensionList = array('php', 'class.php');
3939
foreach ($extensionList as $extension) {
40-
$file = $directory . '/' . $className . '.' . $extension;
40+
$file = $directory . DIRECTORY_SEPARATOR . $className . '.' . $extension;
4141
if (is_file($file)) {
4242
require_once($file);
4343
}

0 commit comments

Comments
 (0)