Open NattyNarwhal opened 3 years ago
Thanks. I was thinking about this today while we taught a client how to turn off debug mode via toolkit.ini.
proposed search order and names:
PHP_TOOLKIT_INI
), so it can be overriden per-site if need be/QOpenSys/etc/php-toolkit.ini
(for IBM i)/etc/php-toolkit.ini
Should it be overrriden in code too?
realizing this could be from code too for i.e app specific
Toolkit install dir could contain a symlink to new location
I will say that CONFIG_FILE is theoretically settable by defining it before Toolkit.php is loaded, but this seems greasy in a world where autoloaders exist. The fact the INI is basically handled by static resources sucks, and that could require a refactor to make instance-local.
Reasoning: