Permalink
Browse files

Add /old as an alias for / (the 2.3 addons database) and /beta as an …

…alias for /master (the 3.1 addons database)
  • Loading branch information...
1 parent 012addc commit db80daf9bf2a87a5edd6b1cae691398d65a83f8d @Zarel Zarel committed Jan 31, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 addons.wz2100.net/htdocs/index.php
@@ -378,11 +378,11 @@ function fileform_callback_wz(curaddon)
<div id="g_cont" class="warzone-content">
<?php
-if (!$p)
+if (!$p || $p == '2.3' || $p == 'old')
{
include 'addons-list.inc.php';
}
-else if ($p == 'master')
+else if ($p == 'master' || $p == '3.1' || $p == 'beta')
{
$showmaster = true;
include 'addons-list.inc.php';

0 comments on commit db80daf

Please sign in to comment.