[SHARE] GAB - Gekko Automated Backtests
#54
(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.
  Reply


Messages In This Thread
RE: [SHARE] GAB - Gekko Automated Backtests - by tommiehansen - 04-02-2018, 02:07 AM
YT - by mtom78632 - 07-17-2021, 06:02 AM
WW - by mtom78632 - 07-18-2021, 07:12 AM

Forum Jump:


Users browsing this thread: