Project

General

Profile

« Previous | Next » 

Revision 868c6826

Added by Ermal LUÇI almost 15 years ago

Move the required once in a more appropriate place.

View differences:

etc/inc/auth.inc
976 976
	global $debug, $config;
977 977
	$ret = false;
978 978

  
979
	require_once("radius.inc");
980

  
979 981
	$rauth = new Auth_RADIUS_PAP($username, $passwd);
980 982
	if ($authcfg) {
981 983
		$radiusservers = array();
......
1115 1117
                        $authenticated = true;
1116 1118
                break;
1117 1119
        case 'radius':
1118
		require_once("radius.inc");
1119 1120
                if (radius_backed($username, $password, $authcfg))
1120 1121
                        $authenticated = true;
1121 1122
                break;

Also available in: Unified diff