2
*/
if(!$usuario->tieneRol("2")){
header("Location: aplicacion.php?e=permiso");
exit;
}
include_once("html/cabecera.php");
include_once("Objects/Administracion.php");
if($_GET['action']=="mantener"){
try{
$admin=new Administracion($usuario,$locale);
$acciones=$admin->mantenSistema();
$tipo="ok";
foreach($acciones as $accion){
$msg.=$accion."
";
}
} catch(Exception $e){
$msg=$e->getMessage();
$tipo="error";
}
}
?>