Brave request Fix. Path seperator fix.

This commit is contained in:
Fabian de Boer 2026-07-17 12:34:37 +02:00
commit 6a122e3bed
4 changed files with 16 additions and 8 deletions

View file

@ -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';