How to add packages to always_load
rikkiprince opened this issue · 2 comments
It is thoroughly unclear from http://fuelphp.com/docs/general/packages.html and http://fuelphp.com/docs/general/configuration.html that always_load is an array.
The Configuration page uses a notation of "always_load.packages" to indicate:
array("always_load" => array("packages" => array(...) ) );
This notation is not explained anywhere, and is not a standard way of referring to multiple levels of arrays in PHP.
Perhaps ["always_load"]["packages"] would be a more appropriate notation?
In any case, it is absolutely essential that somewhere on the Packages page or in the example config.php should be an example of how to set one of these multi-level configuration options.
fabled_1 summarises the problem neatly in http://fuelphp.com/forums/discussion/comment/11927#Comment_11927
Thanks! The changes are excellent :-)