diff options
Diffstat (limited to 'core/helpers')
-rw-r--r-- | core/helpers/core_installer.php | 8 | ||||
-rw-r--r-- | core/helpers/core_theme.php | 4 |
2 files changed, 8 insertions, 4 deletions
diff --git a/core/helpers/core_installer.php b/core/helpers/core_installer.php index 06cd8d91..5c3b9ff0 100644 --- a/core/helpers/core_installer.php +++ b/core/helpers/core_installer.php @@ -82,7 +82,7 @@ class core_installer { PRIMARY KEY (`id`), KEY `parent_id` (`parent_id`), KEY `type` (`type`), - KEY `random` (`rand_key` DESC)) + KEY `random` (`rand_key`)) ENGINE=InnoDB DEFAULT CHARSET=utf8;"); $db->query("CREATE TABLE {logs} ( @@ -122,7 +122,7 @@ class core_installer { PRIMARY KEY (`id`), UNIQUE KEY(`name`)) ENGINE=InnoDB DEFAULT CHARSET=utf8;"); - + $db->query("CREATE TABLE {permissions} ( `id` int(9) NOT NULL auto_increment, `name` varchar(64) default NULL, @@ -195,9 +195,9 @@ class core_installer { access::register_permission("edit", "Edit"); $root = ORM::factory("item"); - $root->type = 'album'; + $root->type = "album"; $root->title = "Gallery"; - $root->description = "Welcome to your Gallery3"; + $root->description = ""; $root->left = 1; $root->right = 2; $root->parent_id = 0; diff --git a/core/helpers/core_theme.php b/core/helpers/core_theme.php index db40f368..eed64ded 100644 --- a/core/helpers/core_theme.php +++ b/core/helpers/core_theme.php @@ -88,6 +88,10 @@ class core_theme_Core { if (Session::instance()->get("l10n_mode", false)) { return L10n_Client_Controller::l10n_form(); } + + if (Input::instance()->get("after_install")) { + return new View("after_install_loader.html"); + } } static function admin_page_bottom($theme) { |