mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-28 12:19:57 +03:00
reload DB config between plugin installation and plugin activation
git-svn-id: http://piwigo.org/svn/trunk@11389 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
bd7c8de401
commit
25d95d2093
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ INSERT INTO ' . PLUGINS_TABLE . ' (id,version) VALUES (\''
|
||||||
if (!isset($crt_db_plugin))
|
if (!isset($crt_db_plugin))
|
||||||
{
|
{
|
||||||
$errors = $this->perform_action('install', $plugin_id);
|
$errors = $this->perform_action('install', $plugin_id);
|
||||||
|
load_conf_from_db();
|
||||||
}
|
}
|
||||||
elseif ($crt_db_plugin['state'] == 'active')
|
elseif ($crt_db_plugin['state'] == 'active')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue