From 3231337bc8590e3722adef73c8155f70ec12eb8d Mon Sep 17 00:00:00 2001 From: Michael Rubinsky Date: Thu, 24 Dec 2009 18:58:57 +0000 Subject: [PATCH] add some H4 goodness, and hope this gets bugs.horde.org working again :) --- whups/index.php | 3 ++- whups/lib/base.load.php | 25 +++++++++++++++++++++++++ whups/lib/base.php | 7 ++----- 3 files changed, 29 insertions(+), 6 deletions(-) create mode 100644 whups/lib/base.load.php diff --git a/whups/index.php b/whups/index.php index a1e0dd4c3..e35d6c667 100644 --- a/whups/index.php +++ b/whups/index.php @@ -7,7 +7,8 @@ * did not receive this file, see http://www.horde.org/licenses/bsdl.php. */ -define('WHUPS_BASE', dirname(__FILE__)); +// Determine BASE directories. +require_once dirname(__FILE__) . '/lib/base.load.php'; $whups_configured = (is_readable(WHUPS_BASE . '/config/conf.php') && is_readable(WHUPS_BASE . '/config/create_email.txt') && is_readable(WHUPS_BASE . '/config/mime_drivers.php') && diff --git a/whups/lib/base.load.php b/whups/lib/base.load.php new file mode 100644 index 000000000..7263da3dd --- /dev/null +++ b/whups/lib/base.load.php @@ -0,0 +1,25 @@ +