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

This commit is contained in:
Andrew Dolgov 2007-09-17 07:10:10 +01:00
parent e1d600f04b
commit 464bd61e20
1 changed files with 7 additions and 2 deletions

View File

@ -442,8 +442,13 @@
return; return;
} }
$auth_login = urlencode(db_fetch_result($result, 0, "auth_login")); $auth_login = db_fetch_result($result, 0, "auth_login");
$auth_pass = urlencode(db_fetch_result($result, 0, "auth_pass")); $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"); $update_interval = db_fetch_result($result, 0, "update_interval");
$cache_images = sql_bool_to_bool(db_fetch_result($result, 0, "cache_images")); $cache_images = sql_bool_to_bool(db_fetch_result($result, 0, "cache_images"));