Ignore:
Timestamp:
2012/02/28 22:35:14 (12 years ago)
Author:
Seasoft
Message:

#1669 (変数の初期化漏れ)
#1613 (typo修正・ソース整形・ソースコメントの改善)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/util/SC_Utils.php

    r21555 r21563  
    21892189        SC_Utils_Ex::deleteFile(MOBILE_COMPILE_REALDIR, false); 
    21902190    } 
    2191      
     2191 
    21922192    /** 
    21932193     * 指定されたパスの配下を再帰的にコピーします. 
     
    21962196     */ 
    21972197    function copyDirectory($source_path, $dest_path) { 
    2198          
     2198 
    21992199        $handle=opendir($source_path);   
    2200         while($filename = readdir($handle)) { 
     2200        while ($filename = readdir($handle)) { 
    22012201            if($filename === '.' || $filename === '..') continue; 
    22022202            $cur_path = $source_path . $filename; 
    22032203            $dest_file_path = $dest_path . $filename; 
    2204             if(is_dir($cur_path)) { 
     2204            if (is_dir($cur_path)) { 
    22052205                // ディレクトリの場合 
    22062206                // コピー先に無いディレクトリの場合、ディレクトリ作成. 
Note: See TracChangeset for help on using the changeset viewer.