praiadeseselle/site/templates/xes-inicio.php

16 lines
No EOL
304 B
PHP

<?php namespace ProcessWire;
if($input->get->logout == true)
{
$session->logout();
$session->redirect($inicio->url);
}
if($user->isLoggedin())
{
$session->redirect($pages->get('/es/gestion/panel/')->httpUrl);
}
else
{
$session->redirect($pages->get('/es/gestion/acceder/')->httpUrl);
}