Changeset 21704 for branches/version-2_12-dev/data/class/util
- Timestamp:
- 2012/04/03 18:31:27 (14 years ago)
- Location:
- branches/version-2_12-dev/data/class/util
- Files:
-
- 2 edited
-
GC_Utils.php (modified) (1 diff)
-
SC_Utils.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/util/GC_Utils.php
r21589 r21704 181 181 } 182 182 183 $msg = "$today [{$_SERVER[' PHP_SELF']}] $msg from {$_SERVER['REMOTE_ADDR']}\n";183 $msg = "$today [{$_SERVER['SCRIPT_NAME']}] $msg from {$_SERVER['REMOTE_ADDR']}\n"; 184 184 if ($verbose) { 185 185 if (GC_Utils_Ex::isFrontFunction()) { -
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.
