/* Load the Horde Framework core, and set up inclusion paths. */
require_once HORDE_BASE . '/lib/core.php';
-/* Notification system. */
-$notification = Horde_Notification::singleton();
-$notification->attach('status');
-
/* Registry. */
$registry = new Horde_Registry();
define('BEATNIK_BASE', dirname(__FILE__) . '/..');
}
-// Notification system.
-$notification = Horde_Notification::singleton();
-$notification->attach('status');
-
// Beatnik base libraries.
require_once BEATNIK_BASE . '/lib/Beatnik.php';
require_once BEATNIK_BASE . '/lib/Driver.php';
$conf = &$GLOBALS['conf'];
@define('CRUMB_TEMPLATES', $registry->get('templates'));
-// Notification system.
-$notification = Horde_Notification::singleton();
-$notification->attach('status');
-
// Define the base file path of Crumb.
@define('CRUMB_BASE', dirname(__FILE__) . '/..');
@define('FIMA_BASE', dirname(__FILE__) . '/..');
}
-// Notification system.
-$notification = Horde_Notification::singleton();
-$notification->attach('status');
-
// Fima base library
require_once FIMA_BASE . '/lib/Driver.php';
$conf = &$GLOBALS['conf'];
define('FOLKS_TEMPLATES', $registry->get('templates'));
-// Notification system.
-$notification = Horde_Notification::singleton();
-$notification->attach('status');
-
// Define the base file path of Folks.
if (!defined('FOLKS_BASE')) {
define('FOLKS_BASE', dirname(__FILE__) . '/..');
/** Provide the horde registry */
$GLOBALS['registry'] = new Horde_Registry();
- $GLOBALS['notification'] = Horde_Notification::singleton();
$this->prepareFixedConfiguration();
if (($e->getCode() == Horde_Registry::AUTH_FAILURE) &&
($action != 'LogOut')) {
$ajax = Horde_Ajax::getInstance($app);
- $notification = Horde_Notification::singleton();
-
- $notification->push(str_replace('&', '&', Horde_Auth::getLogoutUrl(array('reason' => Horde_Auth::REASON_SESSION))), 'horde.ajaxtimeout', array('content.raw'));
+ $GLOBALS['notification']->push(str_replace('&', '&', Horde_Auth::getLogoutUrl(array('reason' => Horde_Auth::REASON_SESSION))), 'horde.ajaxtimeout', array('content.raw'));
Horde::sendHTTPResponse(Horde::prepareResponse(null, $ajax->notificationHandler()), $ajax->responseType());
exit;
}
$conf = &$GLOBALS['conf'];
@define('KASTALIA_TEMPLATES', $registry->get('templates'));
-// Notification system.
-$notification = Horde_Notification::singleton();
-$notification->attach('status');
-
// Define the base file path of Kastalia.
@define('KASTALIA_BASE', dirname(__FILE__) . '/..');
{
global $registry, $notification, $browser;
- $notification = Horde_Notification::singleton();
- $notification->attach('status');
-
if ($webroot === null) {
$webroot = $registry->get('webroot', 'koward');
}
$conf = &$GLOBALS['conf'];
define('NEWS_TEMPLATES', $registry->get('templates'));
-// Notification system.
-$notification = Horde_Notification::singleton();
-$notification->attach('status');
-
// Define the base file path of News.
if (!defined('NEWS_BASE')) {
define('NEWS_BASE', dirname(__FILE__) . '/..');
$conf = &$GLOBALS['conf'];
@define('SKOLI_TEMPLATES', $registry->get('templates'));
-// Notification system.
-$notification = Horde_Notification::singleton();
-$notification->attach('status');
-
// Define the base file path of Skoli.
@define('SKOLI_BASE', dirname(__FILE__) . '/..');
/* Templates */
$template = $injector->createInstance('Horde_Template');
-/* Notification system. */
-$notification = &Horde_Notification::singleton();
-$notification->attach('status');
-
/* Vilma driver. */
$GLOBALS['vilma_driver'] = &Vilma_Driver::singleton();