Ignore:
Timestamp:
2011/03/01 11:40:04 (13 years ago)
Author:
kimoto
Message:

ereg除去 #515

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/SC_CheckError.php

    r20246 r20450  
    629629                // チェック拡張子のピリオドの数を取得('tar.gz'の場合1個、'jpg'のように通常は0個) 
    630630                $count_period = substr_count($checkExt, "."); 
    631                  
     631 
    632632                if($count_period > 0) { 
    633633                    for($i = max(array_keys($array_ext)) - $count_period; $i < count($array_ext); $i++) { 
     
    672672 
    673673        $path = $dir . "/" . $this->arrParam[$value[1]]; 
    674         $path = ereg_replace("//", "/", $path); 
     674        $path = str_replace("//", "/", $path); 
    675675 
    676676        if($this->arrParam[$value[1]] != "" && !file_exists($path)){ 
Note: See TracChangeset for help on using the changeset viewer.