Welcome Guest, Not a member yet? Register   Sign In
Multiple Code Igniter Config Folders
#9

[eluser]takasia[/eluser]
Question - is it possible to load the application config like this form the default config file?
I tried and it didn't worked, but maybe there is some way...

equire_once CONFIGPATH.'config'.EXT;

This I have in my index.php:

$this_app_config_folder = "the_path";

// after define('BASEPATH', str_replace("\\", "/", $system_path));
define('CONFIGPATH', str_replace("\\", "/", $this_app_config_folder));

But it seems that the CONFIGPATH just doesn't get defined - I can echo a BASEPATH etc from the default config.php but CONFIGPATH is just empty.


Messages In This Thread
Multiple Code Igniter Config Folders - by El Forum - 07-28-2008, 07:37 PM
Multiple Code Igniter Config Folders - by El Forum - 07-28-2008, 08:26 PM
Multiple Code Igniter Config Folders - by El Forum - 07-28-2008, 08:42 PM
Multiple Code Igniter Config Folders - by El Forum - 07-28-2008, 08:57 PM
Multiple Code Igniter Config Folders - by El Forum - 07-28-2008, 09:10 PM
Multiple Code Igniter Config Folders - by El Forum - 07-28-2008, 10:29 PM
Multiple Code Igniter Config Folders - by El Forum - 07-28-2008, 10:42 PM
Multiple Code Igniter Config Folders - by El Forum - 07-28-2008, 11:06 PM
Multiple Code Igniter Config Folders - by El Forum - 12-14-2010, 08:39 PM
Multiple Code Igniter Config Folders - by El Forum - 12-14-2010, 09:03 PM
Multiple Code Igniter Config Folders - by El Forum - 12-14-2010, 09:23 PM
Multiple Code Igniter Config Folders - by El Forum - 01-24-2011, 05:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB