]> git.mxchange.org Git - friendica.git/blobdiff - mod/home.php
Merge pull request #5862 from nupplaphil/rename_App_Methods
[friendica.git] / mod / home.php
index d28bf3cb43a9fc62b694fae2c2af0d59806b6c97..33d736a4e1cba2793efd62c8e576a90135f5740f 100644 (file)
@@ -38,8 +38,8 @@ function home_content(App $a) {
        $customhome = false;
        $defaultheader = '<h1>' . (Config::get('config', 'sitename') ? L10n::t('Welcome to %s', Config::get('config', 'sitename')) : '') . '</h1>';
 
-       $homefilepath = $a->basepath . "/home.html";
-       $cssfilepath = $a->basepath . "/home.css";
+       $homefilepath = $a->getBasePath() . "/home.html";
+       $cssfilepath = $a->getBasePath() . "/home.css";
        if (file_exists($homefilepath)) {
                $customhome = $homefilepath;
                if (file_exists($cssfilepath)) {