Corretto redirect mobile che rimandava sempre ad index
This commit is contained in:
@@ -97,7 +97,7 @@ class GUIHandler {
|
||||
}
|
||||
|
||||
if(!$admin){
|
||||
echo "<script type=\"text/javascript\">if(screen.width <=699){window.location='".GUIHandlerMobile::getBaseUrl()."index.php';}</script>";
|
||||
echo "<script type=\"text/javascript\">if(screen.width <=699){window.location='".GUIHandlerMobile::getBaseUrl().$_SERVER[REQUEST_URI]."';}</script>";
|
||||
echo '</head>';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user