$notification->attach('status');
/* Registry. */
-$registry = &Registry::singleton();
+$registry = Horde_Registry::singleton();
if (is_a(($pushed = $registry->pushApp('babel', !defined('AUTH_HANDLER'))), 'PEAR_Error')) {
if ($pushed->getCode() == 'permission_denied') {
require_once HORDE_BASE . '/lib/core.php';
// Registry
-$registry = &Registry::singleton();
+$registry = Horde_Registry::singleton();
if (is_a(($pushed = $registry->pushApp('chora', !defined('AUTH_HANDLER'))), 'PEAR_Error')) {
if ($pushed->getCode() == 'permission_denied') {
Horde::authenticationFailureRedirect();
require_once HORDE_BASE . '/lib/core.php';
// Registry.
-$registry = &Registry::singleton();
+$registry = Horde_Registry::singleton();
if (is_a(($pushed = $registry->pushApp('crumb', !defined('AUTH_HANDLER'))), 'PEAR_Error')) {
if ($pushed->getCode() == 'permission_denied') {
Horde::authenticationFailureRedirect();
// Registry.
$session_control = Horde_Util::nonInputVar('session_control');
if ($session_control == 'none') {
- $registry = &Registry::singleton(HORDE_SESSION_NONE);
+ $registry = Horde_Registry::singleton(HORDE_SESSION_NONE);
} elseif ($session_control == 'readonly') {
- $registry = &Registry::singleton(HORDE_SESSION_READONLY);
+ $registry = Horde_Registry::singleton(HORDE_SESSION_READONLY);
} else {
- $registry = &Registry::singleton();
+ $registry = Horde_Registry::singleton();
}
if (is_a(($pushed = $registry->pushApp('fima', !defined('AUTH_HANDLER'))), 'PEAR_Error')) {
require_once HORDE_BASE . '/lib/core.php';
// Registry.
-$registry = &Registry::singleton();
+$registry = Horde_Registry::singleton();
if (($pushed = $registry->pushApp('folks', !defined('AUTH_HANDLER'))) instanceof PEAR_Error) {
if ($pushed->getCode() == 'permission_denied') {
Horde::authenticationFailureRedirect();
require_once HORDE_BASE . '/lib/core.php';
require_once 'Horde/Autoloader.php';
Horde_Autoloader::addClassPath(dirname(__FILE__));
-$registry = Registry::singleton();
+$registry = Horde_Registry::singleton();
$vars = Horde_Variables::getDefaultVariables();
$vars->set('example_bar', 'text with a beginning and an end');
break;
case 'none':
- $s_ctrl = Registry::SESSION_NONE;
+ $s_ctrl = Horde_Registry::SESSION_NONE;
break;
case 'readonly':
- $s_ctrl = Registry::SESSION_READONLY;
+ $s_ctrl = Horde_Registry::SESSION_READONLY;
break;
}
-$registry = Registry::singleton($s_ctrl);
+$registry = Horde_Registry::singleton($s_ctrl);
// We explicitly do not check application permissions for the compose
// and login pages, since those are handled below and need to fall through
require_once HORDE_BASE . '/lib/core.php';
// Registry.
-$registry = &Registry::singleton();
+$registry = Horde_Registry::singleton();
if (is_a(($pushed = $registry->pushApp('ingo', !defined('AUTH_HANDLER'))), 'PEAR_Error')) {
if ($pushed->getCode() == 'permission_denied') {
Horde::authenticationFailureRedirect();
require_once HORDE_BASE . '/lib/core.php';
// Registry.
-$registry = &Registry::singleton();
+$registry = Horde_Registry::singleton();
if (is_a(($pushed = $registry->pushApp('jeta', !defined('AUTH_HANDLER'))), 'PEAR_Error')) {
if ($pushed->getCode() == 'permission_denied') {
Horde::authenticationFailureRedirect();
require_once HORDE_BASE . '/lib/core.php';
// Registry.
-$registry = &Registry::singleton();
+$registry = Horde_Registry::singleton();
if (is_a(($pushed = $registry->pushApp('kastalia', !defined('AUTH_HANDLER'))), 'PEAR_Error')) {
if ($pushed->getCode() == 'permission_denied') {
Horde::authenticationFailureRedirect();
exit(1);
}
}
-?>
\ No newline at end of file
+?>
require_once HORDE_BASE . '/lib/core.php';
// Registry.
-$registry = &Registry::singleton();
+$registry = Horde_Registry::singleton();
if (is_a(($pushed = $registry->pushApp('kastalia', !defined('AUTH_HANDLER'))), 'PEAR_Error')) {
if ($pushed->getCode() == 'permission_denied') {
Horde::authenticationFailureRedirect();
/* Horde core classes that aren't autoloaded. */
include_once 'Horde/NLS.php';
- include_once 'Horde/Auth.php';
include_once 'Horde/Perms.php';
- include_once 'Horde/Registry.php';
- $registry = Registry::singleton();
+ $registry = Horde_Registry::singleton();
- $notification = &Horde_Notification::singleton();
+ $notification = Horde_Notification::singleton();
$notification->attach('status');
/* Browser detection object. */
}
/* Load the registry with no session control */
- $registry = &Registry::singleton(Registry::SESSION_NONE);
+ $registry = Horde_Registry::singleton(Horde_Registry::SESSION_NONE);
/* Build the block parameters */
/* Registry. */
$session_control = Horde_Util::nonInputVar('session_control');
if ($session_control == 'none') {
- $registry = &Registry::singleton(Registry::SESSION_NONE);
+ $registry = Horde_Registry::singleton(Horde_Registry::SESSION_NONE);
} elseif ($session_control == 'readonly') {
- $registry = &Registry::singleton(Registry::SESSION_READONLY);
+ $registry = Horde_Registry::singleton(Horde_Registry::SESSION_READONLY);
} else {
- $registry = &Registry::singleton();
+ $registry = Horde_Registry::singleton();
}
if (is_a(($pushed = $registry->pushApp('kronolith', !defined('AUTH_HANDLER'))), 'PEAR_Error')) {
require_once dirname(__FILE__) . '/lib/base.load.php';
require_once HORDE_BASE . '/lib/core.php';
-$registry = &Registry::singleton();
+$registry = Horde_Registry::singleton();
/* Which application. */
$app = Horde_Util::getFormData('app');
// Do CLI checks and environment setup first.
require_once HORDE_BASE . '/lib/core.php';
-require_once 'Horde/Cli.php';
// Make sure no one runs this from the web.
if (!Horde_Cli::runningFromCLI()) {
// Load the CLI environment - make sure there's no time limit, init some
// variables, etc.
-$cli = &Horde_Cli::singleton();
+$cli = Horde_Cli::singleton();
$cli->init();
// Read command line parameters.
}
// Registry.
-$registry = Registry::singleton();
+$registry = Horde_Registry::singleton();
// Set user.
Horde_Auth::setAuth($user, array());
require_once HORDE_BASE . '/lib/core.php';
// Registry.
-$registry = &Registry::singleton();
+$registry = Horde_Registry::singleton();
if (($pushed = $registry->pushApp('news', !defined('AUTH_HANDLER'))) instanceof PEAR_Error) {
if ($pushed->getCode() == 'permission_denied') {
Horde::authenticationFailureRedirect();
require_once HORDE_BASE . '/lib/core.php';
// Registry.
-$registry = &Registry::singleton();
+$registry = Horde_Registry::singleton();
if (is_a(($pushed = $registry->pushApp('skoli', !defined('AUTH_HANDLER'))), 'PEAR_Error')) {
if ($pushed->getCode() == 'permission_denied') {
Horde::authenticationFailureRedirect();
@define('HORDE_BASE', dirname(dirname(__FILE__)));
require_once HORDE_BASE . '/lib/core.php';
-$registry = &Registry::singleton();
+$registry = Horde_Registry::singleton();
/* Which application. */
$app = Horde_Util::getFormData('app');
/* Registry. */
$session_control = Horde_Util::nonInputVar('session_control');
if ($session_control == 'none') {
- $registry = &Registry::singleton(Registry::SESSION_NONE);
+ $registry = Horde_Registry::singleton(Horde_Registry::SESSION_NONE);
} elseif ($session_control == 'readonly') {
- $registry = &Registry::singleton(Registry::SESSION_READONLY);
+ $registry = Horde_Registry::singleton(Horde_Registry::SESSION_READONLY);
} else {
- $registry = &Registry::singleton();
+ $registry = Horde_Registry::singleton();
}
if (is_a(($pushed = $registry->pushApp('timeobjects', !defined('AUTH_HANDLER'))), 'PEAR_Error')) {