Changeset 17567 for branches/comu-ver2/data/class/batch/SC_Batch_Update.php
- Timestamp:
- 2008/08/28 08:53:24 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/batch/SC_Batch_Update.php
- Property svn:mime-type set to text/x-httpd-php; charset=UTF-8
r17193 r17567 218 218 function mkdir_p($path){ 219 219 $path = dirname($path); 220 $path = str_replace ('\\', '/', $path); 221 222 $arrDirs = explode("/", $path); 223 $dir = ''; 220 221 // HTML_PATH/DATA_PATHの判別 222 if (preg_match("@\Q".HTML_PATH."\E@", $path) > 0) { 223 $dir = str_replace("\\", "/", HTML_PATH); 224 $path = preg_replace("@\Q".HTML_PATH."\E@", "", $path); 225 } elseif (preg_match("@\Q".DATA_PATH."\E@", $path) > 0) { 226 $dir = str_replace("\\", "/", DATA_PATH); 227 $path = preg_replace("@\Q".DATA_PATH."\E@", "", $path); 228 } else { 229 $dir = ""; 230 } 231 $arrDirs = explode("/", str_replace("\\", "/", $path)); 224 232 225 233 foreach($arrDirs as $n){
Note: See TracChangeset
for help on using the changeset viewer.