Welcome Guest, Not a member yet? Register   Sign In
WOrking with custom config files
#9

[eluser]xtremer360[/eluser]
However I want to do an if statement inside the config file so that if that directory doesn't exist then it defaults to a certain one. So how woudl I check to see if a template exists.

Code:
if () {
    
}
else{
    $config['defaultTemplate'] = 'peach';    
}


Messages In This Thread
WOrking with custom config files - by El Forum - 05-10-2012, 08:44 PM
WOrking with custom config files - by El Forum - 05-10-2012, 09:11 PM
WOrking with custom config files - by El Forum - 05-10-2012, 09:22 PM
WOrking with custom config files - by El Forum - 05-10-2012, 09:31 PM
WOrking with custom config files - by El Forum - 05-10-2012, 11:32 PM
WOrking with custom config files - by El Forum - 05-11-2012, 09:10 AM
WOrking with custom config files - by El Forum - 05-11-2012, 09:32 AM
WOrking with custom config files - by El Forum - 05-11-2012, 09:34 AM
WOrking with custom config files - by El Forum - 05-11-2012, 09:36 AM
WOrking with custom config files - by El Forum - 05-11-2012, 09:41 AM
WOrking with custom config files - by El Forum - 05-11-2012, 09:46 AM
WOrking with custom config files - by El Forum - 05-11-2012, 09:53 AM
WOrking with custom config files - by El Forum - 05-11-2012, 09:59 AM
WOrking with custom config files - by El Forum - 05-11-2012, 10:19 AM
WOrking with custom config files - by El Forum - 05-11-2012, 10:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB