Fixed cron script

This commit is contained in:
Marcin Kurczewski 2014-10-10 19:53:20 +02:00
parent 78759a6557
commit da6c4681fa

View file

@ -2,7 +2,9 @@
require_once(__DIR__
. DIRECTORY_SEPARATOR . '..'
. DIRECTORY_SEPARATOR . 'src'
. DIRECTORY_SEPARATOR . 'AutoLoader.php');
. DIRECTORY_SEPARATOR . 'Bootstrap.php');
$postService = Szurubooru\Injector::get(\Szurubooru\Services\PostService::class);
use \Szurubooru\Services\PostService;
$postService = Szurubooru\Injector::get(PostService::class);
$postService->updatePostGlobals();