aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-26 21:32:05 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-26 21:32:05 +0000
commita4898df06bf1df35a309535b2fe953b23e1d0ca9 (patch)
tree098385fe5a8f9b928a13839d604875654410534e /install
parent15fd33f8fcb63cd56d158fa714a476c434f1491a (diff)
downloadelgg-a4898df06bf1df35a309535b2fe953b23e1d0ca9.tar.gz
elgg-a4898df06bf1df35a309535b2fe953b23e1d0ca9.tar.bz2
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
Diffstat (limited to 'install')
-rw-r--r--install/ElggInstaller.php7
1 files changed, 3 insertions, 4 deletions
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';
}