Changeset 32239

Show
Ignore:
Timestamp:
04/10/09 18:20:13 (4 years ago)
Author:
MugeSo
Message:

HTML_CSS_Mobile::addCSSFilesを眺めていたらむしゃくしゃしてきたので無駄を削った。

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/php/HTML_CSS_Mobile/trunk/HTML/CSS/Mobile.php

    r30764 r32239  
    9696        public function addCSSFiles($files) 
    9797        { 
    98                 if (!is_array($files)) 
    99                 { 
    100                         $files = array($files); 
    101                 } 
    102  
    103                 foreach ($files as $key => $file) 
     98                foreach ((array)$files as $file) 
    10499                { 
    105100                        if (substr($file, 0, 1) != '/')