Changeset 21180
- Timestamp:
- 2011/08/11 01:20:36 (13 years ago)
- Location:
- branches/version-2_11-dev
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/class/SC_Initial.php
r21179 r21180 53 53 $this->requireInitialConfig(); 54 54 $this->defineDSN(); 55 $this->setErrorReporting();56 55 $this->defineDirectoryIndex(); 57 56 $this->defineErrorType(); … … 91 90 DB_TYPE . "://" . DB_USER . ":" . DB_PASSWORD . "@" 92 91 . DB_SERVER . ":" .DB_PORT . "/" . DB_NAME); 93 }94 }95 96 /**97 * エラーレベル設定を行う.98 *99 * ・推奨値100 * 開発時 - E_ALL101 * 運用時 - E_ALL & ~E_NOTICE102 *103 * @access protected104 * @return void105 */106 function setErrorReporting() {107 error_reporting(E_ALL & ~E_NOTICE);108 // PHP 5.3.0対応109 if (error_reporting() > 6143) {110 error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);111 92 } 112 93 } -
branches/version-2_11-dev/html/.htaccess
r20116 r21180 11 11 12 12 # デフォルトテンプレートの状態で 2M 近くになるため 13 php_value upload_max_filesize 5M13 php_value upload_max_filesize 15M 14 14 #php_value post_max_size 8M 15 15 php_flag register_globals off 16 17 # E_ALL(30719) - E_NOTICE(8) - E_DEPRECATED(8192) 18 php_value error_reporting 22519 -
branches/version-2_11-dev/php.ini
r20116 r21180 14 14 ;post_max_size = 8M 15 15 register_globals = off 16 error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
Note: See TracChangeset
for help on using the changeset viewer.