Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / admin / inst_theme.php
index 259ec7b1fe06988e09a714cf8ba68651eb6b099d..70d8eb60a34afbc5768c5d6704e634a07367fa25 100644 (file)
@@ -14,7 +14,7 @@ $path_to_root="..";
 include_once($path_to_root . "/includes/session.inc");
 include_once($path_to_root."/includes/packages.inc");
 
-if ($use_popup_windows) {
+if ($SysPrefs->use_popup_windows) {
        $js = get_js_open_window(900, 500);
 }
 page(_($help_context = "Install Themes"), false, false, '', $js);