Changeset 23370 for branches/version-2_13-dev/html/install/index.php
- Timestamp:
- 2014/04/18 01:56:55 (12 years ago)
- File:
-
- 1 edited
-
branches/version-2_13-dev/html/install/index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/html/install/index.php
r22968 r23370 23 23 // ▼require.php 相当 24 24 // rtrim は PHP バージョン依存対策 25 define('HTML_REALDIR', rtrim(realpath(rtrim(realpath(dirname(__FILE__)), '/\\') . '/../'), '/\\') . '/'); 25 $GLOBALS['_realdir'] = rtrim(realpath(rtrim(realpath(dirname(__FILE__)), '/\\') . '/../'), '/\\') . '/'; 26 $GLOBALS['_realdir'] = str_replace('\\', '/', $GLOBALS['_realdir']); 27 $GLOBALS['_realdir'] = str_replace('//', '/', $GLOBALS['_realdir']); 28 define('HTML_REALDIR', $GLOBALS['_realdir']); 26 29 27 30 require_once HTML_REALDIR . 'define.php';
Note: See TracChangeset
for help on using the changeset viewer.
