szurubooru/scripts/cron-globals.php

9 lines
250 B
PHP
Raw Normal View History

2014-09-25 11:45:46 +02:00
<?php
require_once(__DIR__
. DIRECTORY_SEPARATOR . '..'
. DIRECTORY_SEPARATOR . 'src'
. DIRECTORY_SEPARATOR . 'AutoLoader.php');
$postService = Szurubooru\Injector::get(\Szurubooru\Services\PostService::class);
$postService->updatePostGlobals();