Skip to content

Commit

Permalink
Fixes #8779. This removes the iPod template from master. It has moved…
Browse files Browse the repository at this point in the history
… to a branch now.

(cherry picked from commit a4ceb01)
  • Loading branch information
kormoc committed Dec 21, 2010
1 parent 52cb8fb commit 3ba1ec3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions includes/skin.php
Expand Up @@ -31,8 +31,6 @@
$tmpl = 'wap';
elseif (preg_match('/^(Lynx|ELinks)/i', $_SERVER['HTTP_USER_AGENT']))
$tmpl = 'lite';
elseif (preg_match('/(mobile\s+safari|ipod|iphone)/i', $_SERVER['HTTP_USER_AGENT']))
$tmpl = 'iPod';

if (!file_exists(modules_path.'/_shared/tmpl/'.$tmpl.'/welcome.php'))
$tmpl = 'default';
Expand All @@ -44,8 +42,6 @@
$skin = _or($_REQUEST['RESET_SKIN'], 'default');
elseif (isMobileUser())
$skin = 'wap';
elseif (preg_match('/(mobile\s+safari|ipod|iphone)/i', $_SERVER['HTTP_USER_AGENT']))
$skin = 'iPod-default';

if (!file_exists('skins/'.$skin.'/img/'))
$skin = 'default';
Expand Down

0 comments on commit 3ba1ec3

Please sign in to comment.