]> git.mxchange.org Git - friendica.git/blobdiff - src/App.php
Merge pull request #7187 from MrPetovan/bug/7023-emailer-hooks
[friendica.git] / src / App.php
index 41c50fda5d527cef4c6df1b036cf89159955db0b..2e357f8651a6e738aa31ab106429fcfcef6d96c6 100644 (file)
@@ -149,7 +149,8 @@ class App
         */
        public function getBasePath()
        {
-               return $this->config->get('system', 'basepath');
+               // Don't use the basepath of the config table for basepath (it should always be the config-file one)
+               return $this->config->getCache()->get('system', 'basepath');
        }
 
        /**