help please!!!! |
[eluser]mashary[/eluser]
i am newbie... i have collection of array in a file, such as Code: $definisi_agama = array( i need this file loaded automatically, where should i put this file? sorry poor english
[eluser]tyuwan[/eluser]
In the controller class? I don't get the purpose of this.
[eluser]Sarfaraz Momin[/eluser]
If the contents of the array are static. You can set them as config items in the config file. Please read the userguide on how to setup and use a custom config file. You can autoload a config file using the autoload.php file in the config folder. Config Class
|
Welcome Guest, Not a member yet? Register Sign In |