diff --git a/lam/config/conf.php.dist b/lam/config/conf.php.dist deleted file mode 100644 index ccd5113a..00000000 --- a/lam/config/conf.php.dist +++ /dev/null @@ -1,29 +0,0 @@ - diff --git a/lam/graphics/banner.jpg b/lam/graphics/banner.jpg deleted file mode 100644 index f9a463c4..00000000 Binary files a/lam/graphics/banner.jpg and /dev/null differ diff --git a/lam/graphics/lock.gif b/lam/graphics/lock.gif deleted file mode 100644 index 322f8313..00000000 Binary files a/lam/graphics/lock.gif and /dev/null differ diff --git a/lam/lib/example.php b/lam/lib/example.php deleted file mode 100644 index 280db65f..00000000 --- a/lam/lib/example.php +++ /dev/null @@ -1,68 +0,0 @@ -pushApp('nms'); -$conf = &$GLOBALS['conf']; -@define('NMS_TEMPLATES', $registry->getParam('templates')); - -// Horde base libraries -require_once HORDE_BASE . '/lib/Horde.php'; -require_once HORDE_BASE . '/lib/Auth.php'; -require_once HORDE_BASE . '/lib/Secret.php'; -require_once HORDE_BASE . '/lib/Text.php'; -require_once HORDE_BASE . '/lib/Help.php'; - -// Browser detection library -require_once HORDE_BASE . '/lib/Browser.php'; -$browser = new Browser(); -if (isset($session_control)) { - switch ($session_control) { - case 'netscape': - if ($browser->isBrowser('mozilla')) { - session_cache_limiter('private, must-revalidate'); - } - break; - - case 'cache_ssl_downloads': - header('Vary: User-Agent'); - if ($browser->hasQuirk('cache_ssl_downloads')) { - session_cache_limiter('private, must-revalidate'); - } - break; - } -} - -// Notification system -require_once HORDE_BASE . '/lib/Notification.php'; -$notification = &Notification::singleton(); -$notification->attach('status'); - -// NMS base library -#require_once NMS_BASE . '/lib/version.php'; -define('NMS_NAME', 'Horde nms module'); - -// Don't allow access unless there is a Horde login -// NOTE: We explicitely do not honor the guests flag here!!! -if (!Auth::getAuth()) { - header('Location: ' . Horde::url($registry->getWebRoot("horde") . '/login.php?url=' . urlencode(Horde::selfUrl()), true)); - echo "\n"; - exit; -} - -?> diff --git a/lam/templates/example.inc b/lam/templates/example.inc deleted file mode 100644 index 76a5ad4d..00000000 --- a/lam/templates/example.inc +++ /dev/null @@ -1,39 +0,0 @@ - - - - -<?php echo _("Nms module is not properly configured") ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - -
conf.php
html.php
prefs.php
- -