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.
  • Loading branch information
kormoc committed Dec 21, 2010
1 parent 4753643 commit a4ceb01
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions includes/skin.php
Expand Up @@ -27,8 +27,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 @@ -40,8 +38,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 a4ceb01

Please sign in to comment.