From f270541e427fddcfa7afcda0944277d825cafdfd Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Wed, 13 May 2009 00:15:49 +0000 Subject: added some framework for a tidypics settings object - this will be for detailed configuration --- settings.php | 2 ++ start.php | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 settings.php diff --git a/settings.php b/settings.php new file mode 100644 index 000000000..a45d44034 --- /dev/null +++ b/settings.php @@ -0,0 +1,2 @@ + \ 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. */ -- cgit v1.2.3