From ec9a50ed702eab6b4152141933467d634d678857 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Thu, 30 Jul 2009 16:31:15 -0400 Subject: [PATCH] add base.load.php and update version information --- ansel/lib/base.load.php | 28 ++++++++++++++++++++++++++++ ansel/lib/base.php | 19 ++++--------------- ansel/lib/version.php | 2 +- 3 files changed, 33 insertions(+), 16 deletions(-) create mode 100644 ansel/lib/base.load.php diff --git a/ansel/lib/base.load.php b/ansel/lib/base.load.php new file mode 100644 index 000000000..f38bf4c9b --- /dev/null +++ b/ansel/lib/base.load.php @@ -0,0 +1,28 @@ +get('templates')); -} +$conf = $GLOBALS['conf']; +define('ANSEL_TEMPLATES', $registry->get('templates')); // Notification system. $GLOBALS['notification'] = Horde_Notification::singleton(); $GLOBALS['notification']->attach('status'); -// Find the base file path of Ansel. -if (!defined('ANSEL_BASE')) { - define('ANSEL_BASE', dirname(__FILE__) . '/..'); -} - // Ansel base libraries. require_once ANSEL_BASE . '/lib/Ansel.php'; diff --git a/ansel/lib/version.php b/ansel/lib/version.php index 6c33e4c47..4b585835c 100755 --- a/ansel/lib/version.php +++ b/ansel/lib/version.php @@ -1 +1 @@ - + -- 2.11.0