aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2019-07-20 09:36:39 +0200
committerGitHub <noreply@github.com>2019-07-20 09:36:39 +0200
commita9633359d10841d0d503d185e60a445b0da7b886 (patch)
tree6ae7bd751e126538ea35201bb73607e26d7caa76 /index.php
parent01ba8a0700ea4730e6dc38c685cb6a9c0fbdcccd (diff)
parenta8fb97a0c37b5008765fa73d30a678418011adc1 (diff)
downloadShaarli-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.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.php b/index.php
index 957d8d9a..f0f71dbb 100644
--- a/index.php
+++ b/index.php
@@ -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));