29,13 → 29,13 |
header('Content-Type: text/html; charset=utf-8'); |
if($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest') { |
|
// hacks for Konqueror's error on jQuery |
if (preg_match("/konqueror/i",$_SERVER["HTTP_USER_AGENT"])) { |
$dist_konq = mysql_real_escape_string($_GET["d"]); |
$query =& $db->query("SELECT * FROM distribution WHERE distname LIKE '$dist_konq'"); |
$query->fetchInto($distro, DB_FETCHMODE_ASSOC); |
$dist = $distro["dist_id"]; |
}; |
// hacks for Konqueror's error on jQuery |
if (preg_match("/konqueror/i",$_SERVER["HTTP_USER_AGENT"])) { |
$dist_konq = mysql_real_escape_string($_GET["d"]); |
$query =& $db->query("SELECT * FROM distribution WHERE distname LIKE '$dist_konq'"); |
$query->fetchInto($distro, DB_FETCHMODE_ASSOC); |
$dist = $distro["dist_id"]; |
}; |
|
|
switch($status) { |