Ignore:
Timestamp:
03/03/10 12:54:21 (11 years ago)
Author:
sander
Message:

More PHP 5.3 fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/www/cake/libs/l10n.php

    r5 r311  
    395395 */ 
    396396        function __autoLanguage() { 
    397                 $_detectableLanguages = split('[,;]', env('HTTP_ACCEPT_LANGUAGE')); 
     397                $_detectableLanguages = preg_split('/[,;]/', env('HTTP_ACCEPT_LANGUAGE')); 
    398398                foreach ($_detectableLanguages as $key => $langKey) { 
    399399                        $langKey = strtolower($langKey); 
Note: See TracChangeset for help on using the changeset viewer.