diff options
Diffstat (limited to 'src/lib/Plugin.class.php')
-rw-r--r-- | src/lib/Plugin.class.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/Plugin.class.php b/src/lib/Plugin.class.php index f2251d2..8c7fad8 100644 --- a/src/lib/Plugin.class.php +++ b/src/lib/Plugin.class.php @@ -11,6 +11,12 @@ abstract class Plugin { $this->config[$param]=$value; } } + + public function userConfig() { return array(); } + protected function addConfigGroup($arr, $group) { + if (!isset($arr[$group])) + $arr[$group] = array(); + } public abstract function init(); -}
\ No newline at end of file +} |