diff options
| author | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2013-03-26 20:31:30 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2013-03-26 20:31:30 +0400 |
| commit | a543e86d8587634f27556f1505d338f03af10246 (patch) | |
| tree | 36941f3131af8a6c3691cdb1c54e574b44f3917d /index.php | |
| parent | 4f281ec432fcf1cf2313aa720909420fd69b546b (diff) | |
add redirect to digest on smartphones if mobile is missing
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -38,6 +38,9 @@ } else if ($mobile->isMobile() && $pluginhost->get_plugin("mobile")) { header('Location: backend.php?op=mobile'); exit; + } else if ($mobile->isMobile() && $pluginhost->get_plugin("digest")) { + header('Location: backend.php?op=digest'); + exit; } } |