- Timestamp:
- 2011/01/08 06:20:43 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/admin/LC_Page_Admin.php
r19854 r19857 46 46 47 47 //IP制限チェック 48 if(defined("ADMIN_ALLOW_HOSTS")){49 $allow_hosts = unserialize(ADMIN_ALLOW_HOSTS);48 $allow_hosts = unserialize(ADMIN_ALLOW_HOSTS); 49 if(count($allow_hosts) > 0){ 50 50 if(array_search($_SERVER["REMOTE_ADDR"],$allow_hosts) === FALSE){ 51 51 SC_Response::sendError("403");
Note: See TracChangeset
for help on using the changeset viewer.