- Timestamp:
- 2013/06/08 16:35:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/helper/SC_Helper_FileManager.php
r22567 r22856 29 29 * @version $Id$ 30 30 */ 31 class SC_Helper_FileManager 31 class SC_Helper_FileManager 32 32 { 33 34 33 /** 35 34 * 指定パス配下のディレクトリ取得する. … … 56 55 // ./ と ../を除くファイルのみを取得 57 56 if ($file != '.' && $file != '..') { 58 59 57 $path = $dir.'/'.$file; 60 58 // SELECT内の見た目を整えるため指定文字数で切る … … 134 132 function sfGetFileTree($dir, $tree_status) 135 133 { 136 137 134 $cnt = 0; 138 135 $arrTree = array(); … … 176 173 function sfGetFileTreeSub($dir, $default_rank, &$cnt, &$arrTree, $tree_status) 177 174 { 178 179 175 if (file_exists($dir)) { 180 176 $handle = opendir($dir); … … 333 329 return false; 334 330 } 331 335 332 return fclose($fp);; 336 333 } … … 401 398 // 圧縮ファイル削除 402 399 unlink($path); 400 403 401 return $result; 404 402 } … … 445 443 $flg = @unlink($path); 446 444 } 445 447 446 return $flg; 448 447 }
Note: See TracChangeset
for help on using the changeset viewer.