1
This commit is contained in:
parent
8eb639424a
commit
13779244a1
@ -170,7 +170,7 @@ $this->params['breadcrumbs'][] = $this->title;
|
|||||||
if($_SERVER['REMOTE_ADDR'] == '127.0.0.1'){
|
if($_SERVER['REMOTE_ADDR'] == '127.0.0.1'){
|
||||||
$val_model = filesize('D:/phpstudy_pro/WWW/cxgj/web' . $val);
|
$val_model = filesize('D:/phpstudy_pro/WWW/cxgj/web' . $val);
|
||||||
}else{
|
}else{
|
||||||
$val_model = filesize(\app\components\SiteHelper::getFullUrl($val));
|
$val_model = filesize($_SERVER["DOCUMENT_ROOT"] . $val);
|
||||||
}
|
}
|
||||||
|
|
||||||
$explode = explode('/', $val);
|
$explode = explode('/', $val);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user