diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-26 00:57:06 -0500 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-26 00:57:40 -0500 |
commit | 42133f38d223a2b3b81d309f2d1a983ef2012485 (patch) | |
tree | a9a01095cbb54474e83f8ec220a15991542819e1 /login.php | |
parent | 5f02e4f43cb1423653c156e612da53e4c5938583 (diff) | |
download | ampache-42133f38d223a2b3b81d309f2d1a983ef2012485.tar.gz ampache-42133f38d223a2b3b81d309f2d1a983ef2012485.tar.bz2 ampache-42133f38d223a2b3b81d309f2d1a983ef2012485.zip |
Move access_denied() from lib/ui.lib.php to UI
Diffstat (limited to 'login.php')
-rw-r--r-- | login.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,8 +36,8 @@ Preference::init(); */ if (Config::get('access_control')) { if (!Access::check_network('interface', '', '5')) { - debug_event('access_denied', 'Access Denied:' . $_SERVER['REMOTE_ADDR'] . ' is not in the Interface Access list', '3'); - access_denied(); + debug_event('UI::access_denied', 'Access Denied:' . $_SERVER['REMOTE_ADDR'] . ' is not in the Interface Access list', '3'); + UI::access_denied(); exit(); } } // access_control is enabled |