Update init.php

This commit is contained in:
Bedder 2015-11-13 17:38:41 -06:00
parent c31cd5f200
commit 73395b1bc1
1 changed files with 3 additions and 5 deletions

View File

@ -153,9 +153,7 @@ $base = dirname($base);
if($base!=DS) {
$base = $base.'/';
}
if (dirname($_SERVER['SCRIPT_NAME']) == '\\') {
}else{ // work in subdomain
$base = '/';
}