Changeset 6381 for trunk/interface/index.php
- Timestamp:
- 07/05/08 11:31:14 (5 months ago)
- Files:
-
- 1 modified
-
trunk/interface/index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/interface/index.php
r6321 r6381 49 49 } 50 50 // Redirect for ipod touch / iPhone 51 if(setting::getBlogSettingGlobal('useiPhoneUI',true) && ( strpos($_SERVER['HTTP_USER_AGENT'],'iPod') || strpos($_SERVER['HTTP_USER_AGENT'],'iPhone'))){51 if(setting::getBlogSettingGlobal('useiPhoneUI',true) && (isset($_SERVER['HTTP_USER_AGENT']) && (strpos($_SERVER['HTTP_USER_AGENT'],'iPod') || strpos($_SERVER['HTTP_USER_AGENT'],'iPhone')))){ 52 52 header("Location: $blogURL/i"); exit; 53 53 }
