mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:17:02 +02:00
added mobile device detection
This commit is contained in:
@ -93,7 +93,8 @@ class Controller {
|
||||
$file = DIR_THEME . THEME . '/templates/' . $this->template;
|
||||
}
|
||||
|
||||
|
||||
if(MOBILE_DEVICE == 1) { $file = DIR_THEME . 'mobile' . '/templates/' . $this->template; }
|
||||
|
||||
if(file_exists($file)){
|
||||
|
||||
extract($this->data);
|
||||
|
Reference in New Issue
Block a user