aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/exe/taskrunner.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2023-09-02 14:42:51 +0200
committerGitHub <noreply@github.com>2023-09-02 14:42:51 +0200
commit5ff5424d8c81c7123d8656a787af2ff85b3dec21 (patch)
tree322929ee01d892bb3c927e7fe1238369c647f820 /lib/exe/taskrunner.php
parent0613df3287b82a98b1e97cf86ed9d4c8fbd16f1c (diff)
parent91560755291852b8302767d454183a7662666f7e (diff)
downloaddokuwiki-5ff5424d8c81c7123d8656a787af2ff85b3dec21.tar.gz
dokuwiki-5ff5424d8c81c7123d8656a787af2ff85b3dec21.zip
Merge pull request #4045 from dokuwiki/autofix
Use Rector to autofix code smell
Diffstat (limited to 'lib/exe/taskrunner.php')
-rw-r--r--lib/exe/taskrunner.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/exe/taskrunner.php b/lib/exe/taskrunner.php
index 69ab4451a..0a62bf623 100644
--- a/lib/exe/taskrunner.php
+++ b/lib/exe/taskrunner.php
@@ -1,16 +1,20 @@
<?php
+
/**
* DokuWiki indexer
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Andreas Gohr <andi@splitbrain.org>
*/
+
+use dokuwiki\TaskRunner;
+
if (!defined('DOKU_INC')) {
define('DOKU_INC', __DIR__ . '/../../');
}
-define('DOKU_DISABLE_GZIP_OUTPUT',1);
-require_once DOKU_INC.'inc/init.php';
+define('DOKU_DISABLE_GZIP_OUTPUT', 1);
+require_once DOKU_INC . 'inc/init.php';
session_write_close(); //close session
-$taskRunner = new \dokuwiki\TaskRunner();
+$taskRunner = new TaskRunner();
$taskRunner->run();