diff --git a/setup/manageheader.php b/setup/manageheader.php index 11b7449f27..660855bc8e 100644 --- a/setup/manageheader.php +++ b/setup/manageheader.php @@ -50,9 +50,9 @@ $realpath = realpath('..'); if(!ereg('^' . $_SERVER['DOCUMENT_ROOT'],$realpath)) { - if(PHP_OS == 'Windows') + if(strtoupper(substr(PHP_OS, 0,3)) == 'WIN') { - $realpath = 'Drive:\\\\Path'; + $realpath = 'Drive:/Path/to/egroupware'; } else {