Commit 9d5dab89 authored by Krophil's avatar Krophil
Browse files

Last men standing

parent dd0fdd31
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA. * 02111-1307, USA.
*/ */
header("Location: https://ae2.utbm.fr/user/tools"); header("Location: https://ae.utbm.fr/user/tools");
$topdir = "../"; $topdir = "../";
require_once($topdir. "include/site.inc.php"); require_once($topdir. "include/site.inc.php");
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
* 02111-1307, USA. * 02111-1307, USA.
*/ */
// header("Location: https://ae2.utbm.fr/subscription"); // header("Location: https://ae.utbm.fr/subscription");
// exit; // exit;
$topdir = "../"; $topdir = "../";
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA. * 02111-1307, USA.
*/ */
header("Location: https://ae2.utbm.fr/com/weekmail"); header("Location: https://ae.utbm.fr/com/weekmail");
$topdir = "../"; $topdir = "../";
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
*/ */
if ($_REQUEST['name'] == "services") if ($_REQUEST['name'] == "services")
header("Location: https://ae2.utbm.fr/page/services/"); header("Location: https://ae.utbm.fr/page/services/");
$topdir="./"; $topdir="./";
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
*/ */
if ( isset($_REQUEST['id_asso']) ) if ( isset($_REQUEST['id_asso']) )
header("Location: https://ae2.utbm.fr/com/weekmail/new_article?club=".$_REQUEST['id_asso']); header("Location: https://ae.utbm.fr/com/weekmail/new_article?club=".$_REQUEST['id_asso']);
else else
header("Location: https://ae2.utbm.fr/com/weekmail/new_article"); header("Location: https://ae.utbm.fr/com/weekmail/new_article");
exit; exit;
$topdir = "../"; $topdir = "../";
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA. * 02111-1307, USA.
*/ */
header("Location: https://ae2.utbm.fr/user/tools"); header("Location: https://ae.utbm.fr/user/tools");
$topdir="../"; $topdir="../";
require_once("include/compta.inc.php"); require_once("include/compta.inc.php");
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
* 02111-1307, USA. * 02111-1307, USA.
*/ */
if (isset($_REQUEST['id_comptoir'])) if (isset($_REQUEST['id_comptoir']))
header("Location: https://ae2.utbm.fr/counter/admin/".$_REQUEST['id_comptoir']); header("Location: https://ae.utbm.fr/counter/admin/".$_REQUEST['id_comptoir']);
else else
header("Location: https://ae2.utbm.fr/counter/admin/"); header("Location: https://ae.utbm.fr/counter/admin/");
exit; exit;
$topdir="../"; $topdir="../";
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
* @see get_localisation * @see get_localisation
*/ */
header("Location: https://ae2.utbm.fr/counter/".$_REQUEST['id_comptoir']); header("Location: https://ae.utbm.fr/counter/".$_REQUEST['id_comptoir']);
exit; exit;
$topdir="../"; $topdir="../";
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
* 02111-1307, USA. * 02111-1307, USA.
*/ */
header("Location: https://ae2.utbm.fr/eboutic/"); header("Location: https://ae.utbm.fr/eboutic/");
exit; exit;
$topdir="../"; $topdir="../";
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA. * 02111-1307, USA.
*/ */
header("Location: https://ae2.utbm.fr/forum"); header("Location: https://ae.utbm.fr/forum");
$topdir = "../"; $topdir = "../";
......
...@@ -67,7 +67,7 @@ $forum->load_by_id(1); ...@@ -67,7 +67,7 @@ $forum->load_by_id(1);
if ( $_REQUEST["page"] == "unread" ) if ( $_REQUEST["page"] == "unread" )
{ {
header("Location: https://ae2.utbm.fr/forum/last_unread"); header("Location: https://ae.utbm.fr/forum/last_unread");
$site->allow_only_logged_users("forum"); $site->allow_only_logged_users("forum");
...@@ -185,7 +185,7 @@ if ( $_REQUEST["page"] == "unread" ) ...@@ -185,7 +185,7 @@ if ( $_REQUEST["page"] == "unread" )
} }
elseif ( $_REQUEST["page"] == "starred" ) elseif ( $_REQUEST["page"] == "starred" )
{ {
header("Location: https://ae2.utbm.fr/forum"); header("Location: https://ae.utbm.fr/forum");
$site->allow_only_logged_users("forum"); $site->allow_only_logged_users("forum");
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
* 02111-1307, USA. * 02111-1307, USA.
*/ */
header("Location: https://ae2.utbm.fr/launderette/"); header("Location: https://ae.utbm.fr/launderette/");
exit; exit;
define("ID_ASSO_LAVERIE", 84); define("ID_ASSO_LAVERIE", 84);
......
<?php <?php
header("Location: https://ae2.utbm.fr/matmatronch/clear"); header("Location: https://ae.utbm.fr/matmatronch/clear");
$topdir = "./../"; $topdir = "./../";
require_once($topdir. "include/site.inc.php"); require_once($topdir. "include/site.inc.php");
require_once($topdir. "include/cts/sqltable.inc.php"); require_once($topdir. "include/cts/sqltable.inc.php");
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
* 02111-1307, USA. * 02111-1307, USA.
*/ */
header("Location: https://ae2.utbm.fr/register"); header("Location: https://ae.utbm.fr/register");
exit; exit;
$topdir = "./"; $topdir = "./";
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA. * 02111-1307, USA.
*/ */
header("Location: https://ae2.utbm.fr/sas/"); header("Location: https://ae.utbm.fr/sas/");
$topdir="../"; $topdir="../";
require_once("include/sas.inc.php"); require_once("include/sas.inc.php");
require_once($topdir."include/cts/gallery.inc.php"); require_once($topdir."include/cts/gallery.inc.php");
......
...@@ -21,9 +21,9 @@ ...@@ -21,9 +21,9 @@
* 02111-1307, USA. * 02111-1307, USA.
*/ */
if ( isset($_REQUEST['id_utilisateur']) ) if ( isset($_REQUEST['id_utilisateur']) )
header("Location: https://ae2.utbm.fr/user/".$_REQUEST['id_utilisateur']."/account"); header("Location: https://ae.utbm.fr/user/".$_REQUEST['id_utilisateur']."/account");
else else
header("Location: https://ae2.utbm.fr/user/"); header("Location: https://ae.utbm.fr/user/");
exit; exit;
$topdir="../"; $topdir="../";
......
...@@ -39,7 +39,7 @@ if ( isset($_REQUEST['id_utilisateur']) ) ...@@ -39,7 +39,7 @@ if ( isset($_REQUEST['id_utilisateur']) )
{ {
$user = new utilisateur($site->db); $user = new utilisateur($site->db);
$user->load_by_id($_REQUEST["id_utilisateur"]); $user->load_by_id($_REQUEST["id_utilisateur"]);
header("Location: https://ae2.utbm.fr/user/".$user->id."/pictures"); header("Location: https://ae.utbm.fr/user/".$user->id."/pictures");
if ( !$user->is_valid() ) if ( !$user->is_valid() )
$site->error_not_found("matmatronch"); $site->error_not_found("matmatronch");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment