Commit 626a889d authored by Skia's avatar Skia

Merge branch 'last-rocks-standing' into 'master'

Ragnarök: it's time forum2...

See merge request !9
parents 35095c33 5a270dd7
......@@ -25,6 +25,8 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
header("Location: https://ae2.utbm.fr/forum")
$topdir = "../";
require_once($topdir. "include/site.inc.php");
......
......@@ -67,6 +67,8 @@ $forum->load_by_id(1);
if ( $_REQUEST["page"] == "unread" )
{
header("Location: https://ae2.utbm.fr/forum/last_unread")
$site->allow_only_logged_users("forum");
$site->start_page("forum","Messages non lus");
......@@ -183,6 +185,8 @@ if ( $_REQUEST["page"] == "unread" )
}
elseif ( $_REQUEST["page"] == "starred" )
{
header("Location: https://ae2.utbm.fr/forum")
$site->allow_only_logged_users("forum");
$site->start_page("forum","Sujets favoris");
......
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