Browse Source

Merge pull request #2162 from annando/1512-basepath

Add an additional way to fetch the basepath (See pull request 2161)
pull/2161/head
fabrixxm 6 years ago
parent
commit
5d04818df7
  1. 3
      boot.php

3
boot.php

@ -640,6 +640,9 @@ if(! class_exists('App')) {
if ($basepath == "")
$basepath = $_SERVER["PWD"];
if ($basepath == "")
$basepath = dirname(__FILE__);
return($basepath);
}

Loading…
Cancel
Save