From 3ccf7e102ec79e71b840224d01457e30e41ed52d Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 18 May 2017 14:50:17 -0400 Subject: [PATCH] fix Debug to Logger::Debug --- web/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/index.php b/web/index.php index 6523b3c46..2aa801b29 100644 --- a/web/index.php +++ b/web/index.php @@ -175,9 +175,9 @@ foreach ( getSkinIncludes( 'skin.php' ) as $includeFile ) if ( ZM_OPT_USE_AUTH && ZM_AUTH_HASH_LOGINS ) { if ( empty($user) && ! empty($_REQUEST['auth']) ) { -Debug("Getting user from auth hash"); +Logger::Debug("Getting user from auth hash"); if ( $authUser = getAuthUser( $_REQUEST['auth'] ) ) { -Debug("Success Getting user from auth hash"); +Logger::Debug("Success Getting user from auth hash"); userLogin( $authUser['Username'], $authUser['Password'], true ); } } else if ( ! empty($user) ) { @@ -205,7 +205,7 @@ require_once( 'includes/actions.php' ); # If I put this here, it protects all views and popups, but it has to go after actions.php because actions.php does the actual logging in. if ( ZM_OPT_USE_AUTH && ! isset($user) ) { - Debug("Redirecting to login" ); + Logger::Debug("Redirecting to login" ); $view = 'login'; }