Changeset 23126 for branches/version-2_13_0/data/class/SC_Initial.php
- Timestamp:
- 2013/08/26 15:52:37 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13_0/data/class/SC_Initial.php
r23072 r23126 33 33 * コンストラクタ. 34 34 */ 35 function __construct()35 public function __construct() 36 36 { 37 37 /** EC-CUBEのバージョン */ … … 45 45 * @return void 46 46 */ 47 function init()47 public function init() 48 48 { 49 49 $this->requireInitialConfig(); … … 67 67 * @return void 68 68 */ 69 function requireInitialConfig()69 public function requireInitialConfig() 70 70 { 71 71 define('CONFIG_REALFILE', realpath(dirname(__FILE__)) . '/../config/config.php'); … … 82 82 * @deprecated 下位互換用 83 83 */ 84 function defineDSN()84 public function defineDSN() 85 85 { 86 86 if (defined('DB_TYPE') && defined('DB_USER') && defined('DB_PASSWORD') … … 97 97 * @deprecated 98 98 */ 99 function setErrorReporting()99 public function setErrorReporting() 100 100 { 101 101 error_reporting(E_ALL & ~E_NOTICE); … … 114 114 * @return void 115 115 */ 116 function phpconfigInit()116 public function phpconfigInit() 117 117 { 118 118 ini_set('html_errors', '1'); … … 123 123 ini_set('mbstring.detect_order', 'auto'); 124 124 ini_set('mbstring.substitute_character', 'none'); 125 ini_set('pcre.backtrack_limit', 1000000); 125 126 126 127 mb_language('ja'); // mb_internal_encoding() より前に … … 150 151 * @return void 151 152 */ 152 function defineDirectoryIndex()153 public function defineDirectoryIndex() 153 154 { 154 155 // DirectoryIndex の実ファイル名 … … 181 182 * @return void 182 183 */ 183 function defineParameter()184 public function defineParameter() 184 185 { 185 186 $errorMessage … … 223 224 * @return void 224 225 */ 225 function complementParameter()226 public function complementParameter() 226 227 { 227 228 } … … 235 236 * @return void 236 237 */ 237 function createCacheDir()238 public function createCacheDir() 238 239 { 239 240 if (defined('HTML_REALDIR')) { … … 263 264 * @return void 264 265 */ 265 function defineConstants()266 public function defineConstants() 266 267 { 267 268 // LC_Page_Error用 … … 431 432 * @return void 432 433 */ 433 function stripslashesDeepGpc()434 public function stripslashesDeepGpc() 434 435 { 435 436 // Strip magic quotes from request data. … … 442 443 if (is_string($value)) { 443 444 $value = ' . $unescape_function . '; 444 } else 445 } elseif (is_array($value)) { 445 446 foreach ($value as &$v) $fn($v, $fn); 446 447 } … … 462 463 * @return void 463 464 */ 464 function resetSuperglobalsRequest()465 public function resetSuperglobalsRequest() 465 466 { 466 467 $_REQUEST = array_merge($_GET, $_POST); … … 470 471 * 指定された名前の定数が存在しない場合、指定された値で定義 471 472 * 472 * @param string $name定数の名前。473 * @param mixed$value 定数の値。474 * @return void 475 */ 476 function defineIfNotDefined($name, $value = null)473 * @param string $name 定数の名前。 474 * @param mixed $value 定数の値。 475 * @return void 476 */ 477 public function defineIfNotDefined($name, $value = null) 477 478 { 478 479 if (!defined($name)) { … … 486 487 * @return void 487 488 */ 488 function setTimezone()489 public function setTimezone() 489 490 { 490 491 date_default_timezone_set('Asia/Tokyo'); … … 496 497 * @return void 497 498 */ 498 function normalizeHostname()499 public function normalizeHostname() 499 500 { 500 501 if (
Note: See TracChangeset
for help on using the changeset viewer.