Welcome Guest, Not a member yet? Register   Sign In
base_url() stops executing
#3

[eluser]Dam1an[/eluser]
So when did it last work and what did you do before you noticed it stopped working?

base_url return config->slash_item which can return false if the item doesn't exist in the config array for some reason, so test to see if this is a case

Code:
if(base_url() === FALSE) {
  echo 'Something is seriously wrong';
} else {
  echo 'Hmm... I'm confused';
}


Messages In This Thread
base_url() stops executing - by El Forum - 06-15-2009, 01:57 AM
base_url() stops executing - by El Forum - 06-15-2009, 02:05 AM
base_url() stops executing - by El Forum - 06-15-2009, 02:05 AM
base_url() stops executing - by El Forum - 06-15-2009, 02:10 AM
base_url() stops executing - by El Forum - 06-15-2009, 02:12 AM
base_url() stops executing - by El Forum - 06-15-2009, 02:12 AM
base_url() stops executing - by El Forum - 06-15-2009, 02:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB