X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FCron.php;h=b6dd896cd77e9770c54354e62a92caeaee8f6ddc;hb=5a02e39a65f8f685440228cc1d36738cbe15f32b;hp=61077ae734f2d69a20498f905a7f6c466b61ed2c;hpb=71ec84f6dc83f753fe80170cfdfd32d202850d90;p=friendica.git diff --git a/src/Worker/Cron.php b/src/Worker/Cron.php index 61077ae734..b6dd896cd7 100644 --- a/src/Worker/Cron.php +++ b/src/Worker/Cron.php @@ -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'); }