function themeInit($archive)
{
if ($archive->is('archive', 404))
{
$path_info = trim($archive->request->getPathinfo(), '/');
if ($path_info == 'i/redirect')
{
$url = urldecode($archive->request->url);
$archive->response->redirect($url);
exit;
}
}
}