Changeset 1493 for branches/3.0

Show
Ignore:
Timestamp:
11/09/2006 04:30:54 PM (2 years ago)
Author:
xue
Message:

fixed requirement checker about using ctype_alpha.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/3.0/requirements/index.php

    r1443 r1493  
    230230                $langs=getUserLanguages(); 
    231231                $lang=explode('-',$langs[0]); 
    232                 if(empty($lang[0]) || !ctype_alpha($lang[0])) 
     232                if(empty($lang[0]) || !function_exists('ctype_alpha') || !ctype_alpha($lang[0])) 
    233233                        $language='en'; 
    234234                else