Changeset 453

Show
Ignore:
Timestamp:
01/19/05 20:50:44 (3 years ago)
Author:
aking
Message:

strtolower, not str_to_lower

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wordpress-mobile-edition/trunk/wp-mobile.plugin.php

    r428 r453  
    5353 
    5454foreach ($pages_to_exclude as $exclude) { 
    55       if (strstr(str_to_lower($_SERVER['REQUEST_URI']), $exclude)) { 
     55      if (strstr(strtolower($_SERVER['REQUEST_URI']), $exclude)) { 
    5656            $redirect = false; 
    5757      } 
     
    6060if ($redirect) { 
    6161      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)) { 
    6363                  $URL = get_settings('siteurl').'/wp-mobile.php?'; 
    6464                  if (isset($p)) {