Commit 60a4d311 authored by Krophil's avatar Krophil

Merge branch 'switch_best_console' into 'master'

Last men standing

See merge request !10
parents dd0fdd31 9d5dab89
......@@ -21,7 +21,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
header("Location: https://ae2.utbm.fr/user/tools");
header("Location: https://ae.utbm.fr/user/tools");
$topdir = "../";
require_once($topdir. "include/site.inc.php");
......
......@@ -23,7 +23,7 @@
* 02111-1307, USA.
*/
// header("Location: https://ae2.utbm.fr/subscription");
// header("Location: https://ae.utbm.fr/subscription");
// exit;
$topdir = "../";
......
......@@ -20,7 +20,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
header("Location: https://ae2.utbm.fr/com/weekmail");
header("Location: https://ae.utbm.fr/com/weekmail");
$topdir = "../";
......
......@@ -23,7 +23,7 @@
*/
if ($_REQUEST['name'] == "services")
header("Location: https://ae2.utbm.fr/page/services/");
header("Location: https://ae.utbm.fr/page/services/");
$topdir="./";
......
......@@ -22,9 +22,9 @@
*/
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
header("Location: https://ae2.utbm.fr/com/weekmail/new_article");
header("Location: https://ae.utbm.fr/com/weekmail/new_article");
exit;
$topdir = "../";
......
......@@ -20,7 +20,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
header("Location: https://ae2.utbm.fr/user/tools");
header("Location: https://ae.utbm.fr/user/tools");
$topdir="../";
require_once("include/compta.inc.php");
......
......@@ -22,9 +22,9 @@
* 02111-1307, USA.
*/
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
header("Location: https://ae2.utbm.fr/counter/admin/");
header("Location: https://ae.utbm.fr/counter/admin/");
exit;
$topdir="../";
......
......@@ -42,7 +42,7 @@
* @see get_localisation
*/
header("Location: https://ae2.utbm.fr/counter/".$_REQUEST['id_comptoir']);
header("Location: https://ae.utbm.fr/counter/".$_REQUEST['id_comptoir']);
exit;
$topdir="../";
......
......@@ -29,7 +29,7 @@
* 02111-1307, USA.
*/
header("Location: https://ae2.utbm.fr/eboutic/");
header("Location: https://ae.utbm.fr/eboutic/");
exit;
$topdir="../";
......
......@@ -25,7 +25,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
header("Location: https://ae2.utbm.fr/forum");
header("Location: https://ae.utbm.fr/forum");
$topdir = "../";
......
......@@ -67,7 +67,7 @@ $forum->load_by_id(1);
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");
......@@ -185,7 +185,7 @@ if ( $_REQUEST["page"] == "unread" )
}
elseif ( $_REQUEST["page"] == "starred" )
{
header("Location: https://ae2.utbm.fr/forum");
header("Location: https://ae.utbm.fr/forum");
$site->allow_only_logged_users("forum");
......
......@@ -24,7 +24,7 @@
* 02111-1307, USA.
*/
header("Location: https://ae2.utbm.fr/launderette/");
header("Location: https://ae.utbm.fr/launderette/");
exit;
define("ID_ASSO_LAVERIE", 84);
......
<?php
header("Location: https://ae2.utbm.fr/matmatronch/clear");
header("Location: https://ae.utbm.fr/matmatronch/clear");
$topdir = "./../";
require_once($topdir. "include/site.inc.php");
require_once($topdir. "include/cts/sqltable.inc.php");
......
......@@ -22,7 +22,7 @@
* 02111-1307, USA.
*/
header("Location: https://ae2.utbm.fr/register");
header("Location: https://ae.utbm.fr/register");
exit;
$topdir = "./";
......
......@@ -20,7 +20,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
header("Location: https://ae2.utbm.fr/sas/");
header("Location: https://ae.utbm.fr/sas/");
$topdir="../";
require_once("include/sas.inc.php");
require_once($topdir."include/cts/gallery.inc.php");
......
......@@ -21,9 +21,9 @@
* 02111-1307, USA.
*/
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
header("Location: https://ae2.utbm.fr/user/");
header("Location: https://ae.utbm.fr/user/");
exit;
$topdir="../";
......
......@@ -39,7 +39,7 @@ if ( isset($_REQUEST['id_utilisateur']) )
{
$user = new utilisateur($site->db);
$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() )
$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