diff --git a/core/upgrade/upgrade.php b/core/upgrade/upgrade.php index 9e0b21474d..c02987027f 100644 --- a/core/upgrade/upgrade.php +++ b/core/upgrade/upgrade.php @@ -45,7 +45,7 @@ echo "access denied"; exit; } - $display_type = 'html'; + $display_type = 'html'; //html, text } //add multi-lingual support diff --git a/core/upgrade/upgrade_domains.php b/core/upgrade/upgrade_domains.php index 6d0d347055..47a176313c 100644 --- a/core/upgrade/upgrade_domains.php +++ b/core/upgrade/upgrade_domains.php @@ -32,7 +32,7 @@ set_include_path($document_root); require_once "resources/require.php"; $_SERVER["DOCUMENT_ROOT"] = $document_root; - $format = 'text'; //html, text + $display_type = 'text'; //html, text } else if (!$included) { include "root.php"; @@ -45,13 +45,14 @@ echo "access denied"; exit; } - $format = 'html'; //html, text + $display_type = 'html'; //html, text } //run all app_defaults.php files require_once "resources/classes/config.php"; require_once "resources/classes/domains.php"; $domain = new domains; + $domain->display_type = $display_type; $domain->upgrade(); ?>