aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-06-19 15:21:12 +0000
committermistic100 <mistic@piwigo.org>2013-06-19 15:21:12 +0000
commit6119b6895ecc88cc8e368d7776e39b4a56d75511 (patch)
tree705fbdb3afe86c9683e57c85a0ecccd68258c838 /include/functions.inc.php
parent23329cc2ff9883e22389587d0eeadd8c80f297dd (diff)
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
Diffstat (limited to 'include/functions.inc.php')
-rw-r--r--include/functions.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 9d8bfa923..027299e66 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -1020,6 +1020,8 @@ SELECT param, value
}
$conf[ $row['param'] ] = $val;
}
+
+ trigger_action('load_conf', $condition);
}
function conf_update_param($param, $value)