jappixmini: prepare for safe updates of the addon

This commit is contained in:
Leberwurscht 2012-04-18 00:32:04 +02:00
parent b7b3021053
commit 61eb1f0d18
1 changed files with 5 additions and 1 deletions

View File

@ -80,7 +80,11 @@ if (!$info_text) set_config("jappixmini", "infotext",
);
$bosh_proxy = get_config("jappixmini", "bosh_proxy");
if ($bosh_proxy==="") set_config("jappixmini", "bosh_proxy", 1);
if ($bosh_proxy==="") set_config("jappixmini", "bosh_proxy", "1");
// set addon version so that safe updates are possible later
$addon_version = get_config("jappixmini", "version");
if ($addon_version==="") set_config("jappixmini", "version", "1");
}