]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/Cron.php
Fix notices in include/enotify
[friendica.git] / src / Worker / Cron.php
index 61077ae734f2d69a20498f905a7f6c466b61ed2c..b6dd896cd77e9770c54354e62a92caeaee8f6ddc 100644 (file)
@@ -115,7 +115,7 @@ class Cron
 
                // Ensure to have a .htaccess file.
                // this is a precaution for systems that update automatically
-               $basepath = $a->get_basepath();
+               $basepath = $a->getBasePath();
                if (!file_exists($basepath . '/.htaccess')) {
                        copy($basepath . '/.htaccess-dist', $basepath . '/.htaccess');
                }