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) { if($base!=DS) {
$base = $base.'/'; $base = $base.'/';
} }else{ // work in subdomain
if (dirname($_SERVER['SCRIPT_NAME']) == '\\') {
$base = '/'; $base = '/';
} }