diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-02-03 20:32:11 +0300 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-02-03 20:32:11 +0300 |
commit | de467a3aa36d41ef62c8fadea166f2f0f0bd7e41 (patch) | |
tree | 22444f64d37ea6cb16a0c80937359a55b13d7481 /modules/FrontController.php | |
parent | bdc07badcc7355e73a93b823a09d1917f5d12532 (diff) |
- plugins now run install() when first enabled
- fixed bug in menu
- deactivating also deactivates the LogStats plugins
Diffstat (limited to 'modules/FrontController.php')
-rw-r--r-- | modules/FrontController.php | 10 |
1 files changed, 4 insertions, 6 deletions
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 |