Brave request Fix. Path seperator fix.
This commit is contained in:
parent
d971512a31
commit
6a122e3bed
4 changed files with 16 additions and 8 deletions
|
|
@ -52,7 +52,7 @@ spl_autoload_register(function ($class_name) {
|
|||
}
|
||||
|
||||
$include_path = get_include_path();
|
||||
$include_path_tokens = explode(':', $include_path);
|
||||
$include_path_tokens = explode(PATH_SEPARATOR, $include_path);
|
||||
|
||||
foreach ($include_path_tokens as $prefix) {
|
||||
$path[0] = $prefix . DIRECTORY_SEPARATOR . $class_name . '.interface.php';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue