remove old readme
[atutor.git] / docs / documentation / index / fr / index.php
1 <?php
2 /************************************************************************/
3 /* ATutor                                                                                                                               */
4 /************************************************************************/
5 /* Copyright (c) 2002-2010                                              */
6 /* Inclusive Design Institute                                           */
7 /* http://atutor.ca                                                     */
8 /* This program is free software. You can redistribute it and/or        */
9 /* modify it under the terms of the GNU General Public License          */
10 /* as published by the Free Software Foundation.                        */
11 /************************************************************************/
12 // $Id: index.php 5866 2005-12-15 16:16:03Z joel $
13
14 $parts = pathinfo($_SERVER['PHP_SELF']);
15
16 $dir_parts = explode('/', $parts['dirname']);
17 $last_dir_name = end($dir_parts);
18
19 header('Location: ../index.php?' . $last_dir_name);
20 exit;
21 ?>