Changeset 22796 for branches/version-2_12-dev/data/class/SC_Initial.php
- Timestamp:
- 2013/05/02 18:11:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/SC_Initial.php
r22567 r22796 28 28 * @version $Id$ 29 29 */ 30 class SC_Initial 31 { 30 class SC_Initial { 32 31 33 32 // {{{ cunstructor … … 36 35 * コンストラクタ. 37 36 */ 38 function __construct() 39 { 37 function __construct() { 40 38 41 39 /** EC-CUBEのバージョン */ … … 52 50 * @return void 53 51 */ 54 function init() 55 { 52 function init() { 56 53 $this->requireInitialConfig(); 57 54 $this->defineDSN(); // requireInitialConfig メソッドより後で実行 … … 73 70 * @return void 74 71 */ 75 function requireInitialConfig() 76 { 72 function requireInitialConfig() { 77 73 78 74 define('CONFIG_REALFILE', realpath(dirname(__FILE__)) . '/../config/config.php'); … … 89 85 * @deprecated 下位互換用 90 86 */ 91 function defineDSN() 92 { 87 function defineDSN() { 93 88 if (defined('DB_TYPE') && defined('DB_USER') && defined('DB_PASSWORD') 94 89 && defined('DB_SERVER') && defined('DB_PORT') && defined('DB_NAME') … … 104 99 * @deprecated 105 100 */ 106 function setErrorReporting() 107 { 101 function setErrorReporting() { 108 102 error_reporting(E_ALL & ~E_NOTICE); 109 103 // PHP 5.3.0対応 … … 121 115 * @return void 122 116 */ 123 function phpconfigInit() 124 { 117 function phpconfigInit() { 125 118 ini_set('html_errors', '1'); 126 119 ini_set('mbstring.http_input', CHAR_CODE); … … 157 150 * @return void 158 151 */ 159 function defineDirectoryIndex() 160 { 152 function defineDirectoryIndex() { 161 153 162 154 // DirectoryIndex の実ファイル名 … … 189 181 * @return void 190 182 */ 191 function defineParameter() 192 { 183 function defineParameter() { 193 184 194 185 $errorMessage … … 233 224 * @return void 234 225 */ 235 function complementParameter() 236 { 226 function complementParameter() { 237 227 } 238 228 … … 245 235 * @return void 246 236 */ 247 function createCacheDir() 248 { 237 function createCacheDir() { 249 238 if (defined('HTML_REALDIR')) { 250 239 umask(0); … … 273 262 * @return void 274 263 */ 275 function defineConstants() 276 { 264 function defineConstants() { 277 265 // LC_Page_Error用 278 266 /** 指定商品ページがない */ … … 441 429 * @return void 442 430 */ 443 function stripslashesDeepGpc() 444 { 431 function stripslashesDeepGpc() { 445 432 // Strip magic quotes from request data. 446 433 if (get_magic_quotes_gpc() … … 472 459 * @return void 473 460 */ 474 function resetSuperglobalsRequest() 475 { 461 function resetSuperglobalsRequest() { 476 462 $_REQUEST = array_merge($_GET, $_POST); 477 463 } … … 484 470 * @return void 485 471 */ 486 function defineIfNotDefined($name, $value = null) 487 { 472 function defineIfNotDefined($name, $value = null) { 488 473 if (!defined($name)) { 489 474 define($name, $value); … … 496 481 * @return void 497 482 */ 498 function setTimezone() 499 { 483 function setTimezone() { 500 484 date_default_timezone_set('Asia/Tokyo'); 501 485 }
Note: See TracChangeset
for help on using the changeset viewer.