From 6477a14161336534facdc1a0928568e5fa2ec8bd Mon Sep 17 00:00:00 2001 From: paulr Date: Mon, 19 Sep 2011 15:45:41 +1000 Subject: [PATCH] more framework --- bin/fwc.php | 16 ++++++++++++++++ lib/lib.php | 2 -- libcbfwr/lib.php | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ plugins/plugin.php | 4 ++++ www/index.php | 14 ++++++++++++++ 5 files changed, 82 insertions(+), 2 deletions(-) delete mode 100644 lib/lib.php create mode 100644 libcbfwr/lib.php create mode 100644 plugins/plugin.php diff --git a/bin/fwc.php b/bin/fwc.php index e69de29..25d56cc 100644 --- a/bin/fwc.php +++ b/bin/fwc.php @@ -0,0 +1,16 @@ + \ No newline at end of file diff --git a/lib/lib.php b/lib/lib.php deleted file mode 100644 index 67c94a5..0000000 --- a/lib/lib.php +++ /dev/null @@ -1,2 +0,0 @@ - \ No newline at end of file diff --git a/libcbfwr/lib.php b/libcbfwr/lib.php new file mode 100644 index 0000000..db2c3cb --- /dev/null +++ b/libcbfwr/lib.php @@ -0,0 +1,48 @@ + 0) { + error_log("loading plugin $file"); + require_once("$plpath/$file"); + //echo "required $basedir/$file\n"; + } + } + } + } + } +} + + +?> \ No newline at end of file diff --git a/plugins/plugin.php b/plugins/plugin.php new file mode 100644 index 0000000..497208a --- /dev/null +++ b/plugins/plugin.php @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/www/index.php b/www/index.php index 15c5adc..dd6163c 100644 --- a/www/index.php +++ b/www/index.php @@ -1,3 +1,17 @@ \ No newline at end of file -- 1.7.0.4