Changeset 21563 for branches/version-2_12-dev/data/class/util/SC_Utils.php
- Timestamp:
- 2012/02/28 22:35:14 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/util/SC_Utils.php
r21555 r21563 2189 2189 SC_Utils_Ex::deleteFile(MOBILE_COMPILE_REALDIR, false); 2190 2190 } 2191 2191 2192 2192 /** 2193 2193 * 指定されたパスの配下を再帰的にコピーします. … … 2196 2196 */ 2197 2197 function copyDirectory($source_path, $dest_path) { 2198 2198 2199 2199 $handle=opendir($source_path); 2200 while ($filename = readdir($handle)) {2200 while ($filename = readdir($handle)) { 2201 2201 if($filename === '.' || $filename === '..') continue; 2202 2202 $cur_path = $source_path . $filename; 2203 2203 $dest_file_path = $dest_path . $filename; 2204 if (is_dir($cur_path)) {2204 if (is_dir($cur_path)) { 2205 2205 // ディレクトリの場合 2206 2206 // コピー先に無いディレクトリの場合、ディレクトリ作成.
Note: See TracChangeset
for help on using the changeset viewer.