Changeset 17605 for branches/comu-ver2/data/class/SC_Initial.php
- Timestamp:
- 2008/09/10 20:50:26 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/SC_Initial.php
r17581 r17605 55 55 $this->defineDSN(); 56 56 $this->setErrorReporting(); 57 $this->defineDirectoryIndex(); 57 58 $this->defineConstants(); 58 59 $this->mbstringInit(); … … 131 132 //ロケールを明示的に設定 132 133 setlocale(LC_ALL, LOCALE); 134 } 135 136 /** 137 * 定数 DIR_INDEX_URL を設定する. 138 * 139 * @access protected 140 * @return void 141 */ 142 function defineDirectoryIndex() { 143 144 // DirectoryIndex の実ファイル名 145 if (!defined('DIR_INDEX_FILE')) { 146 define('DIR_INDEX_FILE', 'index.php'); 147 } 148 149 // DIR_INDEX_FILE にアクセスする時の URL のファイル名部を定義する 150 if (USE_FILENAME_DIR_INDEX === true) { 151 // ファイル名を使用する 152 define('DIR_INDEX_URL', DIR_INDEX_FILE); 153 } else { 154 // ファイル名を使用しない 155 define('DIR_INDEX_URL', ''); 156 } 133 157 } 134 158
Note: See TracChangeset
for help on using the changeset viewer.