<?php
/***************************************************************************
- * Copyright (C) 2003-2004 Polytechnique.org *
+ * Copyright (C) 2003-2006 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
if (!$page) {
require_once("xorg.inc.php");
- if (!Env::has('liste')) header('Location: index.php');
+ if (!Env::has('liste')) redirect('index.php');
$liste = strtolower(Env::get('liste'));
new_admin_page('listes/check.tpl');