Changeset 453
- Timestamp:
- 01/19/05 20:50:44 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wordpress-mobile-edition/trunk/wp-mobile.plugin.php
r428 r453 53 53 54 54 foreach ($pages_to_exclude as $exclude) { 55 if (strstr(str _to_lower($_SERVER['REQUEST_URI']), $exclude)) {55 if (strstr(strtolower($_SERVER['REQUEST_URI']), $exclude)) { 56 56 $redirect = false; 57 57 } … … 60 60 if ($redirect) { 61 61 foreach ($small_browsers as $browser) { 62 if (strstr($_SERVER["HTTP_USER_AGENT"], $browser) && !strstr($_SERVER['REQUEST_URI'], 'wp-mobile.php')) {62 if (strstr($_SERVER["HTTP_USER_AGENT"], $browser)) { 63 63 $URL = get_settings('siteurl').'/wp-mobile.php?'; 64 64 if (isset($p)) {
