Subversion Repositories ALCASAR

Rev

Rev 1831 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1831 Rev 2488
Line 13... Line 13...
13
		echo "<b>Could not include SQL library</b><br>\n";
13
		echo "<b>Could not include SQL library</b><br>\n";
14
		exit();
14
		exit();
15
	}
15
	}
16
	$link = da_sql_pconnect($config);
16
	$link = da_sql_pconnect($config);
17
	if ($link){
17
	if ($link){
18
		$auth_user = $_SERVER["PHP_AUTH_USER"];
18
		$auth_user = $_SERVER["REMOTE_USER"];
19
		$extra = '';
19
		$extra = '';
20
		if (isset($mappings[$auth_user]['nasdb'])){
20
		if (isset($mappings[$auth_user]['nasdb'])){
21
			$NAS_ARR = array();
21
			$NAS_ARR = array();
22
			$NAS_ARR = preg_split('/,/',$mappings[$auth_user][nasdb]);
22
			$NAS_ARR = preg_split('/,/',$mappings[$auth_user][nasdb]);
23
			$extra = 'WHERE nasname IN (';
23
			$extra = 'WHERE nasname IN (';