mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 00:31:58 +01:00
mobile detection fix
This commit is contained in:
parent
e8f3b51ca5
commit
c6099145f4
@ -237,7 +237,7 @@ require_once 'config-site.php';
|
|||||||
|
|
||||||
if(isset($_SESSION['theme']) && preg_match("/^([a-zA-Z0-9\-\_]+)$/", $_SESSION['theme'])) { $config['THEME'] = $_SESSION['theme']; }
|
if(isset($_SESSION['theme']) && preg_match("/^([a-zA-Z0-9\-\_]+)$/", $_SESSION['theme'])) { $config['THEME'] = $_SESSION['theme']; }
|
||||||
|
|
||||||
include("/system/helper/detectmobilebrowser.php");
|
include("system/helper/detectmobilebrowser.php");
|
||||||
|
|
||||||
if(MOBILE_DEVICE == 1) { $config['THEME'] = 'mobile'; }
|
if(MOBILE_DEVICE == 1) { $config['THEME'] = 'mobile'; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user