CodeIgniter Forums

Full Version: Get custom config file array
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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)
Use include or require statements:

PHP Code:
<?php include (APPPATH.'config/app.php'); ?>