Ignore:
Timestamp:
2012/02/11 04:51:32 (14 years ago)
Author:
Seasoft
Message:

#1613 (ソース整形・ソースコメントの改善)

  • Zend Framework PHP 標準コーディング規約への準拠を高めた
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/admin/LC_Page_Admin.php

    r21478 r21480  
    4848        $allow_hosts = unserialize(ADMIN_ALLOW_HOSTS); 
    4949        if (is_array($allow_hosts) && count($allow_hosts) > 0) { 
    50             if (array_search($_SERVER["REMOTE_ADDR"],$allow_hosts) === FALSE) { 
     50            if (array_search($_SERVER['REMOTE_ADDR'],$allow_hosts) === FALSE) { 
    5151                SC_Utils_Ex::sfDispError(AUTH_ERROR); 
    5252            } 
     
    5656        if (ADMIN_FORCE_SSL == TRUE) { 
    5757            if (SC_Utils_Ex::sfIsHTTPS() === false) { 
    58                 SC_Response_Ex::sendRedirect($_SERVER["REQUEST_URI"], $_GET, FALSE, TRUE); 
     58                SC_Response_Ex::sendRedirect($_SERVER['REQUEST_URI'], $_GET, FALSE, TRUE); 
    5959            } 
    6060        } 
Note: See TracChangeset for help on using the changeset viewer.