diff options
author | Andreas Gohr <gohr@cosmocode.de> | 2014-12-17 13:14:29 +0100 |
---|---|---|
committer | Andreas Gohr <gohr@cosmocode.de> | 2014-12-17 13:14:29 +0100 |
commit | 81781cb6b4211de42700790b0f4968f39feababd (patch) | |
tree | 137aca9d118a2dc6a298bac26d4edcb0a51723a3 | |
parent | 90394abd2d0fc66a994a3f81c76e265d0707b351 (diff) | |
download | rpg-81781cb6b4211de42700790b0f4968f39feababd.tar.gz rpg-81781cb6b4211de42700790b0f4968f39feababd.tar.bz2 |
never exit during test runs
-rw-r--r-- | inc/common.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/common.php b/inc/common.php index b5fdd1ea5..2c9359a0c 100644 --- a/inc/common.php +++ b/inc/common.php @@ -1828,6 +1828,8 @@ function send_redirect($url) { } else { header('Location: '.$url); } + + if(defined('DOKU_UNITTEST')) return; // no exits during unit tests exit; } |