[imp] Re: problem with imp authentication.
Jim King
jrk at mipl.jpl.nasa.gov
Tue Aug 24 10:25:59 PDT 2004
I *think* so:
if (isset($_SERVER['PHP_SELF'])) { $webroot =
strstr(dirname(__FILE__), '/' . array_shift(preg_split(';/;',
$_SERVER['PHP_SELF'], 2, PREG_SPLIT_NO_EMPTY)));
if ($webroot !== false) {
$webroot = preg_replace(';/config$;', '', $webroot);
} else {
$webroot = 'horde-new';
}
} else {
$webroot = 'horde-new';
}
$this->applications['horde'] = array(
'fileroot' => dirname(__FILE__) . '/..',
'webroot' => $webroot,
'initial_page' => 'login.php',
'icon' => $webroot . '/graphics/horde.gif',
'name' => _("Horde"),
'status' => 'active',
'templates' => dirname(__FILE__) . '/../templates',
'provides' => 'horde'
);
$this->applications['imp'] = array(
'fileroot' => dirname(__FILE__) . '/../imp',
'webroot' => $this->applications['horde']['webroot'] . '/imp',
'icon' => $this->applications['horde']['webroot'] .
'/imp/graphics/imp.gif',
'name' => _("Mail"),
'status' => 'active',
'provides' => 'mail',
);
Does that look right?
Dan Brown wrote:
> Quoting Jim King <jrk at mipl.jpl.nasa.gov>:
>
>> Aug 22 21:02:08 HORDE [emergency] [] horde-new/imp is not configured in
>> the Horde Registry. [on line 67 of
>> "/usr/local/lib/php/Horde/Auth/application.php"]
>
>
> Is the correct information entered for imp in
> horde/config/registry.php?
>
> --
> Dan Brown, KE6MKS, dan at familybrown.org
> "Since all the world is but a story, it were well for thee to buy the
> more enduring story rather than the story that is less enduring."
> -- The Judgment of St. Colum Cille
More information about the imp
mailing list