Response::redirect('/login')
protected static function generate_base() { ... if (\Input::server('script_name')) { $base_url .= str_replace('\\', '/', dirname(\Input::server('script_name'))); // Add a slash if it is missing $base_url = rtrim($base_url, '/').'/'; } ... }
Jelmer Schreuder wrote on Monday 24th of October 2011:Most likely you configured your base_url in app/config/config.php without a trailing slash. dirname() returns the directory as "./login" and appends it to the trailing-slash-less url [url=http://virtualdomain]http://virtualdomain[/url] which becomes [url=http://virtualdomain]http://virtualdomain[/url]./login
Set this to null to have it automatically detected.
echo serialize($_SERVER);die();I can then see if there is something wrong with our autodetect code.
Harro Verton wrote on Tuesday 25th of October 2011:Can you the following in your app (for example in config.php) and email me the result at wanwizard<at>fuelphp.com?
echo serialize($_SERVER);die();I can then see if there is something wrong with our autodetect code.
It looks like you're new here. If you want to get involved, click one of these buttons!