Changeset 21704 for branches/version-2_12-dev/data/class/util/SC_Utils.php
- Timestamp:
- 2012/04/03 18:31:27 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/util/SC_Utils.php
r21686 r21704 39 39 // インストール済みが定義されていない。 40 40 if (!defined('ECCUBE_INSTALL')) { 41 $phpself = $_SERVER[' PHP_SELF'];41 $phpself = $_SERVER['SCRIPT_NAME']; 42 42 if (strpos('/install/', $phpself) === false) { 43 43 $path = substr($phpself, 0, strpos($phpself, basename($phpself))); … … 307 307 /* 1階層上のディレクトリ名を取得する */ 308 308 function sfUpDirName() { 309 $path = $_SERVER[' PHP_SELF'];309 $path = $_SERVER['SCRIPT_NAME']; 310 310 $arrVal = explode('/', $path); 311 311 $cnt = count($arrVal);
Note: See TracChangeset
for help on using the changeset viewer.
