Welcome Guest, Not a member yet? Register   Sign In
base_url() wrong even when explicitly set
#5

[eluser]madshadow[/eluser]
[quote author="Aken" date="1337108007"]Your strpos() checks in your index.php are wrong. You're checking for === 0 instead of !== false. That's why only your development mode works properly.[/quote]

Aken- Thanks for replying. As I mention above, though, 1) the demo environment is working properly and 2) even in the staging environment the ENVIRONMENT variable is correctly set to "staging." The disconnect seems to be in the base_url being set based on that staging ENVIRONMENT variable.


Messages In This Thread
base_url() wrong even when explicitly set - by El Forum - 05-15-2012, 07:22 AM
base_url() wrong even when explicitly set - by El Forum - 05-15-2012, 07:52 AM
base_url() wrong even when explicitly set - by El Forum - 05-15-2012, 09:18 AM
base_url() wrong even when explicitly set - by El Forum - 05-15-2012, 11:53 AM
base_url() wrong even when explicitly set - by El Forum - 05-15-2012, 12:10 PM
base_url() wrong even when explicitly set - by El Forum - 05-15-2012, 12:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB