small details
authorx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 8 Jul 2006 23:51:05 +0000 (23:51 +0000)
committerx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 8 Jul 2006 23:51:05 +0000 (23:51 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@399 839d8a87-29fc-0310-9880-83ba4fa771e5

modules/platal.php

index b7347ed..356927f 100644 (file)
@@ -73,9 +73,10 @@ class PlatalModule extends PLModule
         global $globals;
 
         if (!$globals->skin->enable) {
-            redirect('index.php');
+            redirect('./');
         }
-        new_skinned_page('skins.tpl', AUTH_COOKIE);
+
+        $page->changeTpl('skins.tpl');
         $page->assign('xorg_title','Polytechnique.org - Skins');
 
         if (Env::has('newskin'))  {  // formulaire soumis, traitons les données envoyées