summaryrefslogtreecommitdiffstats
path: root/login.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-01-26 00:57:06 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2013-01-26 00:57:40 -0500
commit42133f38d223a2b3b81d309f2d1a983ef2012485 (patch)
treea9a01095cbb54474e83f8ec220a15991542819e1 /login.php
parent5f02e4f43cb1423653c156e612da53e4c5938583 (diff)
downloadampache-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.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/login.php b/login.php
index 44dd0ddc..fab31b32 100644
--- a/login.php
+++ b/login.php
@@ -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