Skip to content

Commit 46c2a44

Browse files
committed
Restore PHP 5.2 compatibility, fixes #35
We still support DokuWiki version 2015-08-10 "Hrun" which only requires PHP 5.2, so supporting PHP 5.2 makes sense.
1 parent 5ade0f8 commit 46c2a44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helper/rewrite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
if(!defined('DOKU_INC')) die();
1212

1313
// load required handler class
14-
require_once(__DIR__ . '/handler.php');
14+
require_once(dirname(__FILE__) . '/handler.php');
1515

1616
/**
1717
* Class helper_plugin_move_rewrite

0 commit comments

Comments
 (0)