aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/plugins.class.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-06-15 20:19:17 +0000
committermistic100 <mistic@piwigo.org>2011-06-15 20:19:17 +0000
commit25d95d20937c5471b2571b1016caf4d509341dbd (patch)
tree10471315617d1aaef6a56794c6b30f6f4e956c1e /admin/include/plugins.class.php
parentbd7c8de4017f41e2f3f99043bfbe11729aeebc50 (diff)
reload DB config between plugin installation and plugin activation
git-svn-id: http://piwigo.org/svn/trunk@11389 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/include/plugins.class.php')
-rw-r--r--admin/include/plugins.class.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/include/plugins.class.php b/admin/include/plugins.class.php
index b74b2ab7d..e5fce638f 100644
--- a/admin/include/plugins.class.php
+++ b/admin/include/plugins.class.php
@@ -86,6 +86,7 @@ INSERT INTO ' . PLUGINS_TABLE . ' (id,version) VALUES (\''
if (!isset($crt_db_plugin))
{
$errors = $this->perform_action('install', $plugin_id);
+ load_conf_from_db();
}
elseif ($crt_db_plugin['state'] == 'active')
{