Changeset 17195 for branches/version-2/data/class/batch/SC_Batch_Update.php
- Timestamp:
- 2008/04/01 13:08:30 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2/data/class/batch/SC_Batch_Update.php
r17159 r17195 219 219 $path = dirname($path); 220 220 $path = str_replace ('\\', '/', $path); 221 222 $arrDirs = explode("/", $path); 223 $dir = ''; 221 222 // HTML_PATH/DATA_PATHの判別 223 if (preg_match("@".HTML_PATH."@", $path) > 0) { 224 $dir = HTML_PATH; 225 $re_path = preg_replace("@".HTML_PATH."@", "", $path); 226 } elseif (preg_match("@".DATA_PATH."@", $path) > 0) { 227 $dir = DATA_PATH; 228 $re_path = preg_replace("@".DATA_PATH."@", "", $path); 229 } else { 230 $dir = ""; 231 $re_path = $path; 232 } 233 $arrDirs = explode("/", $re_path); 224 234 225 235 foreach($arrDirs as $n){
Note: See TracChangeset
for help on using the changeset viewer.