bug 420, nom d'epouse sur le trombi promo
[platal.git] / htdocs / skins.php
index 651e9e9..f970874 100644 (file)
@@ -1,6 +1,6 @@
 <?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   *
@@ -21,7 +21,7 @@
 
 require_once('xorg.inc.php');
 if (!$globals->skin->enable) {
-    header('Location: index.php');
+    redirect('index.php');
 }
 new_skinned_page('skins.tpl', AUTH_COOKIE);
 $page->assign('xorg_title','Polytechnique.org - Skins');