aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--settings.php2
-rw-r--r--start.php7
2 files changed, 9 insertions, 0 deletions
diff --git a/settings.php b/settings.php
new file mode 100644
index 000000000..a45d44034
--- /dev/null
+++ b/settings.php
@@ -0,0 +1,2 @@
+<?php
+?> \ No newline at end of file
diff --git a/start.php b/start.php
index 85e4929bc..94fb0440c 100644
--- a/start.php
+++ b/start.php
@@ -4,6 +4,13 @@
*
*/
+ // setup tidypics settings object
+ global $CONFIG;
+ if (!isset($CONFIG->tidypics))
+ $CONFIG->tidypics = new stdClass;
+ include dirname(__FILE__) . "/settings.php";
+
+
/**
* tidypics plugin initialisation functions.
*/