From de467a3aa36d41ef62c8fadea166f2f0f0bd7e41 Mon Sep 17 00:00:00 2001 From: matt Date: Sun, 3 Feb 2008 17:32:11 +0000 Subject: - plugins now run install() when first enabled - fixed bug in menu - deactivating also deactivates the LogStats plugins --- modules/FrontController.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'modules/FrontController.php') diff --git a/modules/FrontController.php b/modules/FrontController.php index d1b9eee6bf..8e1ae0af63 100644 --- a/modules/FrontController.php +++ b/modules/FrontController.php @@ -266,11 +266,9 @@ class Piwik_FrontController Piwik::prefixTable('log_profiling'), ); -// Piwik::dropTables($doNotDrop); - - Piwik::createTables(); - - Piwik_PluginsManager::getInstance()->installPlugins(); + //Piwik::dropTables($doNotDrop); + //Piwik::createTables(); + //Piwik_PluginsManager::getInstance()->installPlugins(); // Setup the auth object Piwik_PostEvent('FrontController.authSetCredentials'); @@ -279,7 +277,7 @@ class Piwik_FrontController $authAdapter = Zend_Registry::get('auth'); } catch(Exception $e){ - throw new Exception("Object 'auth' cannot be found in the Registry. Maybe the Login plugin is not available?"); + throw new Exception("Object 'auth' cannot be found in the Registry. Maybe the Login plugin is not enabled?"); } // Perform the authentication query, saving the result -- cgit v1.2.3