4938 Posts in 16827 Topics by 1490 members
|Go to End|
25 September 2013 at 10:15pm
I suspect this may be a simple define somewhere, but I have searched the documentation and forums and can't seem to find what I'm after.
I have just installed silverstripe and noticed I was unable to login, I was stuck in some sort of loop. When I looked at the address bar, I noticed the uri was /websites/123reg/LinuxPackage25/ex/pe/rt/public_html/Security/login?BackURL=%2Fadmin So I checked the source code, and the base href has a similar string. So basically, I want to overide the base href somewhere. Can it be done in _config or is it more complex than that?
I'm on 2.4
26 September 2013 at 2:07am
Found it - Director::setBaseURL("/");
Knew it would be there somewhere
|Go to Top|