summaryrefslogtreecommitdiff
path: root/_test/runtests.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2008-09-14 15:47:44 +0200
committerAndreas Gohr <andi@splitbrain.org>2008-09-14 15:47:44 +0200
commit4761d30ceb295143e72c59f91d19015d6b656ad5 (patch)
tree57b90444f129f759364052a5918ae471f55dbc1e /_test/runtests.php
parentf5c6743cf7fd971197b6ff56c658bd2457cbb02f (diff)
downloadrpg-4761d30ceb295143e72c59f91d19015d6b656ad5.tar.gz
rpg-4761d30ceb295143e72c59f91d19015d6b656ad5.tar.bz2
rewrote the fullpath function FS#1462
The fullpath function now correctly handles windows drive letter paths and UNC paths making sure that those are not destroyed with upper dir .. notation. Unit tests where added. darcs-hash:20080914134744-7ad00-9abf5931d910a0b12979b1f69b090e8ecd568c71.gz
Diffstat (limited to '_test/runtests.php')
-rwxr-xr-x_test/runtests.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/_test/runtests.php b/_test/runtests.php
index e3489b4cf..c4a4f36b4 100755
--- a/_test/runtests.php
+++ b/_test/runtests.php
@@ -2,6 +2,7 @@
<?php
ini_set('memory_limit','128M');
if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../').'/');
+define('DOKU_UNITTEST',true);
require_once(DOKU_INC.'inc/init.php');
require_once(DOKU_INC.'inc/events.php');