04-02-2018, 02:07 AM
(04-02-2018, 01:09 AM)gekko2yuno Wrote: Add '/' to the conf.php.
So this:
$base_url = $protocol . $domain . substr(__DIR__, strlen($_SERVER[ 'DOCUMENT_ROOT' ]));
Looks like:
$base_url = $protocol . $domain . '/' . substr(__DIR__, strlen($_SERVER[ 'DOCUMENT_ROOT' ]));
A terrible solution since everyone using a port (as you really should @ localhost) would then have double slashes.
Added a check for trailing slash for $domain though so it's added only if needed, it's in the last version @ Github.