require_once('inc/init.php');
ldap_login();
- if ($conf['userlogreq'] && $user == ''){
+ if ($conf['userlogreq'] && !isset($_SESSION['ldapab']['username'])){
header('Location: login.php');
exit();
}
}
}
ksort($tags);
- tag_cloud_weight(&$tags,$min,$max,6);
+ tag_cloud_weight($tags,$min,$max,6);
$out = '';
foreach($tags as $tag => $cnt){