diff --git a/core/upgrade/upgrade_schema.php b/core/upgrade/upgrade_schema.php index 7acb2829ea..93547ec4db 100644 --- a/core/upgrade/upgrade_schema.php +++ b/core/upgrade/upgrade_schema.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2014 + Portions created by the Initial Developer are Copyright (C) 2008-2020 the Initial Developer. All Rights Reserved. Contributor(s): @@ -42,6 +42,14 @@ //add multi-lingual support $language = new text; $text = $language->get(); + + //set the application_name + if (isset($argv[0])) { + $application_name = $argv[0]; + } + if (isset($argv[1]) && $argv[1] == 'data_types') { + $upgrade_data_types = 'true'; + } } else if (!$included) { include "root.php"; @@ -66,10 +74,11 @@ $obj = new schema; echo $obj->schema($format); -if (!$included && $format == 'html') { - echo "
\n"; - echo "
\n"; - require_once "resources/footer.php"; -} +//formatting for hmtl + if (!$included && $format == 'html') { + echo "
\n"; + echo "
\n"; + require_once "resources/footer.php"; + } ?>