Changeset 21010 for branches/version-2_11-dev/data/require_safe.php
- Timestamp:
- 2011/07/04 13:35:35 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/require_safe.php
r20764 r21010 28 28 */ 29 29 30 // rtrim は PHP バージョン依存対策 31 define("HTML_REALDIR", rtrim(realpath(rtrim(realpath(dirname(__FILE__)), '/\\') . '/'), '/\\') . '/'); 32 33 if (!defined("DATA_REALDIR")) { 34 define("DATA_REALDIR", HTML_REALDIR . HTML2DATA_DIR); 30 if (!defined('DATA_REALDIR')) { 31 define('DATA_REALDIR', HTML_REALDIR . HTML2DATA_DIR); 35 32 } 36 33 … … 40 37 // 各種クラス読み込み 41 38 require_once DATA_REALDIR . 'require_classes.php'; 42 43 if (SC_Display::detectDevice() == DEVICE_TYPE_MOBILE) {44 ob_start(array('SC_MobileEmoji', 'handler'));45 }46 39 ?>
Note: See TracChangeset
for help on using the changeset viewer.