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

726 B

id title status priority created updated tags class
12 Fix autoloader: use PATH_SEPARATOR instead of hardcoded ':' review high 2026-07-17T03:57:06.82901804+02:00 2026-07-17T12:27:53.056263524+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.