From a4898df06bf1df35a309535b2fe953b23e1d0ca9 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 26 Feb 2011 21:32:05 +0000 Subject: Fixes #2913 - directs the user to admin dashboard when installer finishes git-svn-id: http://code.elgg.org/elgg/trunk@8497 36083f99-b078-4883-b0ff-0f9b5a30f544 --- install/ElggInstaller.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'install') diff --git a/install/ElggInstaller.php b/install/ElggInstaller.php index aaa786033..aa5903a08 100644 --- a/install/ElggInstaller.php +++ b/install/ElggInstaller.php @@ -26,16 +26,15 @@ class ElggInstaller { protected $isAction = FALSE; - protected $autoLogin = FALSE; + protected $autoLogin = TRUE; /** * @var array An array of widgets to add to the admin dashboard. * - * @warning Columbus start on the right at 1. * In the form column => array of handlers in order, top to bottom */ protected $adminWidgets = array( - 1 => array('content_stats'), + 1 => array('admin_welcome', 'content_stats'), 2 => array('online_users', 'new_users'), ); @@ -507,7 +506,7 @@ class ElggInstaller { $params = array(); if ($this->autoLogin) { - $params['destination'] = 'pg/admin/plugins/simple'; + $params['destination'] = 'pg/admin/'; } else { $params['destination'] = 'index.php'; } -- cgit v1.2.3