- Timestamp:
- 2013/08/26 15:52:37 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13_0/data/class/batch/SC_Batch_Update.php
r22856 r23126 36 36 * 変換したいファイルの拡張子をカンマ区切りで羅列. 37 37 */ 38 var$includes = 'php,inc,tpl,css,sql,js,png,jpg,gif,swf,txt,doc,pdf';38 public $includes = 'php,inc,tpl,css,sql,js,png,jpg,gif,swf,txt,doc,pdf'; 39 39 40 40 /** 41 41 * 除外するファイル名をカンマ区切りで羅列. 42 42 */ 43 var$excludes = 'distinfo.php';43 public $excludes = 'distinfo.php'; 44 44 45 45 /** 46 46 * バッチ処理を実行する. 47 47 * 48 * @param string $target アップデータファイルのディレクトリパス48 * @param string $target アップデータファイルのディレクトリパス 49 49 * @return void 50 50 */ 51 function execute($target = '.')51 public function execute($target = '.') 52 52 { 53 53 $msg = ''; … … 68 68 $arrLog['err'][] = $msg; 69 69 $this->printLog($msg); 70 70 71 return $arrLog; 71 72 } … … 196 197 * @see http://www.php.net/glob 197 198 */ 198 function listdirs($dir)199 public function listdirs($dir) 199 200 { 200 201 static $alldirs = array(); … … 215 216 * @param string $path 絶対パス 216 217 */ 217 function lfMkdirRecursive($path)218 public function lfMkdirRecursive($path) 218 219 { 219 220 $path = dirname($path); … … 239 240 } 240 241 241 function makeDistInfo($bkupDistInfoArray)242 public function makeDistInfo($bkupDistInfoArray) 242 243 { 243 244 $src = "<?php\n" … … 252 253 } 253 254 254 function printLog($msg)255 public function printLog($msg) 255 256 { 256 257 GC_Utils_Ex::gfPrintLog($msg, DATA_REALDIR . 'logs/ownersstore_batch_update.log');
Note: See TracChangeset
for help on using the changeset viewer.