Get custom config file array - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Model-View-Controller (https://forum.codeigniter.com/forumdisplay.php?fid=10) +--- Thread: Get custom config file array (/showthread.php?tid=68856) |
Get custom config file array - omid_student - 09-05-2017 Hello I have config file with filename app.php in application/config I load it in my project. You know that we can get all item of array with $this->config->config But i need get all item from app.php (when i use $this->config->app,it get error) RE: Get custom config file array - InsiteFX - 09-05-2017 Use include or require statements: PHP Code: <?php include (APPPATH.'config/app.php'); ?> |