Ignore:
Timestamp:
2013/05/02 18:11:36 (11 years ago)
Author:
h_yoshimoto
Message:

#2236 2.12.3リリース以降の2.12-devへのコミット差し戻し

File:
1 edited

Legend:

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

    r22567 r22796  
    2828 * @version $Id$ 
    2929 */ 
    30 class SC_Initial  
    31 { 
     30class SC_Initial { 
    3231 
    3332    // {{{ cunstructor 
     
    3635     * コンストラクタ. 
    3736     */ 
    38     function __construct() 
    39     { 
     37    function __construct() { 
    4038 
    4139        /** EC-CUBEのバージョン */ 
     
    5250     * @return void 
    5351     */ 
    54     function init() 
    55     { 
     52    function init() { 
    5653        $this->requireInitialConfig(); 
    5754        $this->defineDSN();                 // requireInitialConfig メソッドより後で実行 
     
    7370     * @return void 
    7471     */ 
    75     function requireInitialConfig() 
    76     { 
     72    function requireInitialConfig() { 
    7773 
    7874        define('CONFIG_REALFILE', realpath(dirname(__FILE__)) . '/../config/config.php'); 
     
    8985     * @deprecated 下位互換用 
    9086     */ 
    91     function defineDSN() 
    92     { 
     87    function defineDSN() { 
    9388        if (defined('DB_TYPE') && defined('DB_USER') && defined('DB_PASSWORD') 
    9489            && defined('DB_SERVER') && defined('DB_PORT') && defined('DB_NAME') 
     
    10499     * @deprecated 
    105100     */ 
    106     function setErrorReporting() 
    107     { 
     101    function setErrorReporting() { 
    108102        error_reporting(E_ALL & ~E_NOTICE); 
    109103        // PHP 5.3.0対応 
     
    121115     * @return void 
    122116     */ 
    123     function phpconfigInit() 
    124     { 
     117    function phpconfigInit() { 
    125118        ini_set('html_errors', '1'); 
    126119        ini_set('mbstring.http_input', CHAR_CODE); 
     
    157150     * @return void 
    158151     */ 
    159     function defineDirectoryIndex() 
    160     { 
     152    function defineDirectoryIndex() { 
    161153 
    162154        // DirectoryIndex の実ファイル名 
     
    189181     * @return void 
    190182     */ 
    191     function defineParameter() 
    192     { 
     183    function defineParameter() { 
    193184 
    194185        $errorMessage 
     
    233224     * @return void 
    234225     */ 
    235     function complementParameter() 
    236     { 
     226    function complementParameter() { 
    237227    } 
    238228 
     
    245235     * @return void 
    246236     */ 
    247     function createCacheDir() 
    248     { 
     237    function createCacheDir() { 
    249238        if (defined('HTML_REALDIR')) { 
    250239            umask(0); 
     
    273262     * @return void 
    274263     */ 
    275     function defineConstants() 
    276     { 
     264    function defineConstants() { 
    277265        // LC_Page_Error用 
    278266        /** 指定商品ページがない */ 
     
    441429     * @return void 
    442430     */ 
    443     function stripslashesDeepGpc() 
    444     { 
     431    function stripslashesDeepGpc() { 
    445432        // Strip magic quotes from request data. 
    446433        if (get_magic_quotes_gpc() 
     
    472459     * @return void 
    473460     */ 
    474     function resetSuperglobalsRequest() 
    475     { 
     461    function resetSuperglobalsRequest() { 
    476462        $_REQUEST = array_merge($_GET, $_POST); 
    477463    } 
     
    484470     * @return void 
    485471     */ 
    486     function defineIfNotDefined($name, $value = null) 
    487     { 
     472    function defineIfNotDefined($name, $value = null) { 
    488473        if (!defined($name)) { 
    489474            define($name, $value); 
     
    496481     * @return void 
    497482     */ 
    498     function setTimezone() 
    499     { 
     483    function setTimezone() { 
    500484        date_default_timezone_set('Asia/Tokyo'); 
    501485    } 
Note: See TracChangeset for help on using the changeset viewer.