only urlencode() login/pass for Magpie for the time being (refs #153)

master
Andrew Dolgov 17 years ago
parent e1d600f04b
commit 464bd61e20

@ -442,8 +442,13 @@
return;
}
$auth_login = urlencode(db_fetch_result($result, 0, "auth_login"));
$auth_pass = urlencode(db_fetch_result($result, 0, "auth_pass"));
$auth_login = db_fetch_result($result, 0, "auth_login");
$auth_pass = db_fetch_result($result, 0, "auth_pass");
if (!ENABLE_SIMPLEPIE) {
$auth_login = urlencode($auth_login);
$auth_pass = urlencode($auth_pass);
}
$update_interval = db_fetch_result($result, 0, "update_interval");
$cache_images = sql_bool_to_bool(db_fetch_result($result, 0, "cache_images"));

Loading…
Cancel
Save