szurubooru/scripts/cron-globals

12 lines
291 B
Text
Raw Normal View History

2015-06-28 12:27:50 +02:00
#!/usr/bin/php
2014-09-25 11:45:46 +02:00
<?php
require_once(__DIR__
2015-06-28 12:25:35 +02:00
. DIRECTORY_SEPARATOR . '..'
. DIRECTORY_SEPARATOR . 'src'
. DIRECTORY_SEPARATOR . 'Bootstrap.php');
2014-09-25 11:45:46 +02:00
2014-10-10 19:53:20 +02:00
use \Szurubooru\Services\PostService;
$postService = Szurubooru\Injector::get(PostService::class);
2014-09-25 11:45:46 +02:00
$postService->updatePostGlobals();