praiadeseselle/site/templates/xes-inicio.php

16 lines
304 B
PHP
Raw Permalink Normal View History

2022-10-06 13:14:42 +02:00
<?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);
}