Part of the EllisLab Network
   
 
linking config files to a database
Posted: 23 June 2008 07:42 PM   [ Ignore ]  
Summer Student
Avatar
Total Posts:  11
Joined  05-30-2008

Hi,

I’ve been developing an application and using custom config files for a lot stuff. I need to make a web control panel for my configs and was wonderng if there is there a way I can link config data to a database without replacing all the $this->config->item() references. Is it possible to call a model from the config files so I can link the data that way?

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 819, on March 11, 2010 11:15 AM
Total Registered Members: 120547 Total Logged-in Users: 38
Total Topics: 126600 Total Anonymous Users: 3
Total Replies: 665564 Total Guests: 301
Total Posts: 792164    
Members ( View Memberlist )
Newest Members:  ClarkKentBaoHeredamferDr.JohnRamin.Hossainikreesmheatbluemonstasweeper240andrew n