Просмотр поста

.
ДоХтор
# Scorpion (21.03.2016 / 15:15)
Скажите пожалуйста как определить текущую страницу не нарушая синтаксис кода
include 'mdetect.php';

$detect = new Mobile_Detect;
if($detect->isMobile() || $detect->isTablet()){
header("Location
header('Location: '. $_SERVER['PHP_SELF']);