Changeset 21859
- Timestamp:
- 2012/05/29 12:29:06 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/helper/SC_Helper_FileManager.php
r21757 r21859 56 56 // SELECT内の見た目を整えるため指定文字数で切る 57 57 $file_name = SC_Utils_Ex::sfCutString($file, FILE_NAME_LEN); 58 $file_size = SC_Utils_Ex::sfCutString( $this->sfGetDirSize($path), FILE_NAME_LEN);58 $file_size = SC_Utils_Ex::sfCutString(SC_Helper_FileManager::sfGetDirSize($path), FILE_NAME_LEN); 59 59 $file_time = date('Y/m/d', filemtime($path)); 60 60 … … 104 104 } else if (is_dir($path) && $file != '..' && $file != '.') { 105 105 // 下層ファイルのバイト数を取得する為、再帰的に呼び出す。 106 $bytes += $this->sfGetDirSize($path);106 $bytes += SC_Helper_FileManager::sfGetDirSize($path); 107 107 } 108 108 }
Note: See TracChangeset
for help on using the changeset viewer.