summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/init.php b/inc/init.php
index 46576e000..3df769ce8 100644
--- a/inc/init.php
+++ b/inc/init.php
@@ -510,7 +510,7 @@ EOT;
function fullpath($path,$exists=false){
static $run = 0;
$root = '';
- $iswin = (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN' || $GLOBALS['DOKU_UNITTEST_ASSUME_WINDOWS']);
+ $iswin = (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN' || @$GLOBALS['DOKU_UNITTEST_ASSUME_WINDOWS']);
// find the (indestructable) root of the path - keeps windows stuff intact
if($path{0} == '/'){