ZapMachine/kanban/tasks/012-fix-autoloader-use-path-separator-instead-of.md

816 B

id title status priority created updated started completed tags class
12 Fix autoloader: use PATH_SEPARATOR instead of hardcoded ':' done high 2026-07-17T03:57:06.82901804+02:00 2026-07-20T14:15:55.809367918+02:00 2026-07-20T14:15:55.814059562+02:00 2026-07-20T14:15:55.814059562+02:00
framework
bug
standard

From framework review (docs/framework_review.md). conf/init.php uses explode(':', get_include_path()) but the include path separator is ':' on Unix and ';' on Windows. Makes the autoloader fail on Windows. Fix: explode(PATH_SEPARATOR, get_include_path()).

2026-07-17 Fri 12:27 Changed explode(':', ...) to explode(PATH_SEPARATOR, ...) in conf/init.php. PHP passes php -l.

2026-07-17 Fri 12:27 P0-3 fixed. One-line change in conf/init.php. Ready for your commit.