From dc5b83baa04c5a0418a033c6d15a5be5bf0786c6 Mon Sep 17 00:00:00 2001 From: Ben Klang Date: Thu, 10 Nov 2005 05:45:49 +0000 Subject: [PATCH] XML test git-svn-id: https://svn.alkaloid.net/gpl/shout/trunk@85 06cd67b6-e706-0410-b29e-9de616bca6e9 --- security.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 security.php diff --git a/security.php b/security.php new file mode 100644 index 000000000..c437f19ff --- /dev/null +++ b/security.php @@ -0,0 +1,23 @@ + + * + * See the enclosed file COPYING for license information (GPL). If you + * did not receive this file, see http://www.fsf.org/copyleft/gpl.html. + */ + +@define('SHOUT_BASE', dirname(__FILE__)); +$shout_configured = (@is_readable(SHOUT_BASE . '/config/conf.php'));# && + #@is_readable(SHOUT_BASE . '/config/prefs.php')); +if (!$shout_configured) { + require SHOUT_BASE . '/../lib/Test.php'; + Horde_Test::configFilesMissing('Shout', SHOUT_BASE, + array('conf.php', 'prefs.php')); +} + +require_once SHOUT_BASE . '/lib/base.php'; +require_once SHOUT_BASE . '/lib/Shout.php'; + +Shout::getApplist(); \ No newline at end of file -- 2.11.0