Welcome Guest, Not a member yet? Register   Sign In
Autoloading a configuration file ?
#1

[eluser]Unknown[/eluser]
I wanted to use the auto load() function to load a configuration script. I defined it in the configuration file to auto load and then i discovered the problem !! i need my own written configuration script at the beginning of the loading sequence. My configuration file has a lot of configuration settings that are needed for some of my own developed library classes.

Because the configuration file is not loaded before the core classes are initialized, i cannot use the settings inside it !!

Question:

Configuration files are almost always needed immediately right after system gets loading. Is there a way to auto load a configuration file that gets initialized immediately ?

If not, how can i use my own configuration file t load just after the start without hacking into the code ?


Messages In This Thread
Autoloading a configuration file ? - by El Forum - 03-02-2009, 12:27 PM
Autoloading a configuration file ? - by El Forum - 03-02-2009, 01:32 PM
Autoloading a configuration file ? - by El Forum - 07-08-2011, 03:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB