From 9b814dd2124a8c71dec3a8d510d288f040b03b9e Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 20 Nov 2011 18:41:34 -0500 Subject: working on settings --- activate.php | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 activate.php (limited to 'activate.php') diff --git a/activate.php b/activate.php new file mode 100644 index 000000000..ca74c6119 --- /dev/null +++ b/activate.php @@ -0,0 +1,32 @@ + true, +); + +foreach ($defaults as $name => $value) { + if ($plugin->getSetting($name) === null) { + $plugin->setSetting($name, $value); + } +} -- cgit v1.2.3