diff options
author | ArthurHoaro <arthur@hoa.ro> | 2019-07-20 09:36:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-20 09:36:39 +0200 |
commit | a9633359d10841d0d503d185e60a445b0da7b886 (patch) | |
tree | 6ae7bd751e126538ea35201bb73607e26d7caa76 /index.php | |
parent | 01ba8a0700ea4730e6dc38c685cb6a9c0fbdcccd (diff) | |
parent | a8fb97a0c37b5008765fa73d30a678418011adc1 (diff) | |
download | Shaarli-a9633359d10841d0d503d185e60a445b0da7b886.tar.gz Shaarli-a9633359d10841d0d503d185e60a445b0da7b886.tar.zst Shaarli-a9633359d10841d0d503d185e60a445b0da7b886.zip |
Merge pull request #1317 from ArthurHoaro/feature/default-colors
Plugin to override default template colors
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1567,6 +1567,7 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history, $sessionManager, | |||
1567 | if ($targetPage == Router::$PAGE_SAVE_PLUGINSADMIN) { | 1567 | if ($targetPage == Router::$PAGE_SAVE_PLUGINSADMIN) { |
1568 | try { | 1568 | try { |
1569 | if (isset($_POST['parameters_form'])) { | 1569 | if (isset($_POST['parameters_form'])) { |
1570 | $pluginManager->executeHooks('save_plugin_parameters', $_POST); | ||
1570 | unset($_POST['parameters_form']); | 1571 | unset($_POST['parameters_form']); |
1571 | foreach ($_POST as $param => $value) { | 1572 | foreach ($_POST as $param => $value) { |
1572 | $conf->set('plugins.'. $param, escape($value)); | 1573 | $conf->set('plugins.'. $param, escape($value)); |