Ignore:
Timestamp:
2012/04/18 17:10:53 (12 years ago)
Author:
shutta
Message:

#1296 SC_* のコンストラクタの拡張が無視される
コンストラクタ名を、PHP4の記法(クラス名と同名の関数名)から、PHP5以降で標準的なconstructに変更。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/SC_UploadFile.php

    r21755 r21767  
    5858 
    5959    // ファイル管理クラス 
    60     function SC_UploadFile($temp_dir, $save_dir) { 
     60    function __construct($temp_dir, $save_dir) { 
    6161        $this->temp_dir = rtrim($temp_dir, '/') . '/'; 
    6262        $this->save_dir = rtrim($save_dir, '/') . '/'; 
Note: See TracChangeset for help on using the changeset viewer.