• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get custom config file array

#1
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)
Reply

#2
Use include or require statements:

PHP Code:
<?php include (APPPATH.'config/app.php'); ?>
What did you Try? What did you Get? What did you Expect?

Joined the CodeIgniter Community in 2009.          ( Skype: insitfx )
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2017 MyBB Group.