Ignore:
Timestamp:
2008/07/18 17:05:13 (18 years ago)
Author:
naka
Message:

require.phpを統合

Location:
branches/version-2/data
Files:
1 added
1 deleted
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • branches/version-2/data/class/SC_DbConn.php

    r17345 r17439  
    2424$current_dir = realpath(dirname(__FILE__)); 
    2525require_once($current_dir . "/../module/DB.php"); 
    26  
     26require_once($current_dir . "/util/SC_Utils.php"); 
     27require_once($current_dir . "/util/GC_Utils.php"); 
    2728$objDbConn = ""; 
    2829 
  • branches/version-2/data/class/util/GC_Utils.php

    r17371 r17439  
    201201                    for($i = $count; 1 <= $i; $i--) { 
    202202                        $move_number = $i + 1; 
    203                         if(file_exists("$path.$move_number")) unlink("$path.$move_number"); 
     203                        if(file_exists("$path.$move_number")) { 
     204                            unlink("$path.$move_number"); 
     205                        } 
    204206                        copy("$dirname/" . $arrLog[$i - 1], "$path.$move_number"); 
    205207                    } 
Note: See TracChangeset for help on using the changeset viewer.