szurubooru/scripts/cron-globals.php
2014-10-18 18:48:28 +02:00

8 lines
250 B
PHP

<?php
require_once(__DIR__
. DIRECTORY_SEPARATOR . '..'
. DIRECTORY_SEPARATOR . 'src'
. DIRECTORY_SEPARATOR . 'AutoLoader.php');
$postService = Szurubooru\Injector::get(\Szurubooru\Services\PostService::class);
$postService->updatePostGlobals();