App/Models/UserModel.php
/**
	 * Returns true if user authenticated
	 * 
	 * @return boolean
	 */
Returns true if user authenticated

@return boolean
Returns true if user authenticated @return boolean
public static function authCheck()
	{
		$authenticated = empty($_SESSION['user']) ? true : false;
		return $authenticated;
	}
public static function authCheck ( ) { $ authenticated = empty ( $ _SESSION [ 'user' ] ) ? true : false ; return $ authenticated ; }
Returns true if user authenticated
Returns true if user authenticated