szurubooru/scripts/cron-globals.php

11 lines
267 B
PHP
Raw Normal View History

2014-09-25 11:45:46 +02:00
<?php
require_once(__DIR__
. DIRECTORY_SEPARATOR . '..'
. DIRECTORY_SEPARATOR . 'src'
2014-10-10 19:53:20 +02:00
. 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();