Add trigger "load_conf" at the end of load_conf_from_db()

not usable for the first call in common.inc.php (plugins not loaded)

git-svn-id: http://piwigo.org/svn/trunk@23372 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
mistic100
2013-06-19 15:21:12 +00:00
parent 23329cc2ff
commit 6119b6895e
2 changed files with 9 additions and 0 deletions
+7
View File
@@ -244,6 +244,13 @@ array(
'vars' => array('bool', 'full'),
'files' => array('admin\include\functions.inc.php (invalidate_user_cache)'),
),
array(
'name' => 'load_conf',
'type' => 'trigger_action',
'vars' => array('string', 'condition'),
'files' => array('include\functions.inc.php (load_conf_from_db)'),
'infos' => 'New in 2.6. <b>Warning:</b> you can\'t trigger the first call done une common.inc.php. Use <i>init</i> instead.',
),
array(
'name' => 'list_check_integrity',
'type' => 'trigger_action',