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

20 lines
726 B
Markdown
Raw Normal View History

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