]> git.mxchange.org Git - friendica.git/blobdiff - boot.php
Merge pull request #2170 from fabrixxm/issue_1953
[friendica.git] / boot.php
index 0f4cacb5fd37bd36089995ff2e62aee9a52cdafa..05a334a1fa50ddd33ef1fb08a4194dbebcdb7e6d 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -634,6 +634,9 @@ if(! class_exists('App')) {
 
                        $basepath = get_config("system", "basepath");
 
+                       if ($basepath == "")
+                               $basepath = dirname(__FILE__);
+
                        if ($basepath == "")
                                $basepath = $_SERVER["DOCUMENT_ROOT"];