Changeset 15722


Ignore:
Timestamp:
2007/09/18 21:43:35 (16 years ago)
Author:
nanasess
Message:

ECCUBE_VERSION を conf.php に移動

Location:
branches/feature-module-update/data/conf
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/conf/conf.php

    r15708 r15722  
    99 
    1010$CONF_PHP_PATH = realpath( dirname( __FILE__) ); 
    11 require_once($CONF_PHP_PATH ."/../install.php"); 
     11require_once($CONF_PHP_PATH ."/../install_mysql.php"); 
    1212require_once($CONF_PHP_PATH ."/core.php" ); 
    1313 
     
    3838ini_set("mbstring.substitute_character", "none"); 
    3939 
     40/** EC-CUBEのバージョン */ 
     41define('ECCUBE_VERSION', "1.5"); 
     42 
    4043/** 
    4144 * 定数を設定する. 
    4245 * 
    43  * 注意: この関数を外部で使用すること推奨しません. 
     46 * 注意: この関数を外部で使用すること推奨しません. 
    4447 * 
    4548 * mtb_constants.php を読み込んで定数を設定する. 
    46  * キャッシュディレクトリに存在しない場合は, インストーラからコピーする. 
     49 * キャッシュディレクトリに存在しない場合は, 初期データからコピーする. 
    4750 * 
    4851 * @access private 
     
    5760        require_once($CONF_PHP_PATH . "/cache/mtb_constants.php"); 
    5861 
    59     // キャッシュが無ければ, インストーラからコピー 
     62    // キャッシュが無ければ, 初期データからコピー 
    6063    } elseif (is_file($CONF_PHP_PATH 
    61                       . "/../" . DATA_DIR2HTML . "install/mtb_constants.php")) { 
     64                      . "/mtb_constants_init.php")) { 
    6265 
    63         $mtb_constants = file_get_contents($CONF_PHP_PATH 
    64                                            . "/../" . DATA_DIR2HTML 
    65                                            . "install/mtb_constants.php"); 
     66        $mtb_constants = file_get_contents($CONF_PHP_PATH . "/mtb_constants_init.php"); 
    6667        $handle = fopen($CONF_PHP_PATH . "/cache/mtb_constants.php", "w"); 
    6768        if (!$handle) { 
  • branches/feature-module-update/data/conf/mtb_constants_init.php

    r15715 r15722  
    8484/** 文字コード */ 
    8585define('CHAR_CODE', "UTF-8"); 
    86 /** EC-CUBEバージョン情報 */ 
    87 define('ECCUBE_VERSION', "1.5"); 
    8886/** 決済モジュール付与文言 */ 
    8987define('ECCUBE_PAYMENT', "EC-CUBE"); 
Note: See TracChangeset for help on using the changeset viewer.