Changeset 21204


Ignore:
Timestamp:
2011/08/19 17:29:36 (13 years ago)
Author:
shutta
Message:

refs #515 (PHP 5.3.0対応)
非推奨関数の置き換え

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/class/util/SC_Utils.php

    r21203 r21204  
    4040        if (!defined('ECCUBE_INSTALL')) { 
    4141            $phpself = $_SERVER['PHP_SELF']; 
    42             if( !ereg('/install/', $phpself) ) { 
     42            if( strpos('/install/', $phpself) === false ) { 
    4343                $path = substr($phpself, 0, strpos($phpself, basename($phpself))); 
    4444                $install_url = SC_Utils_Ex::searchInstallerPath($path); 
Note: See TracChangeset for help on using the changeset viewer.