Skip to content

Commit

Permalink
Switch default version from 3.5 to 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
robbieaverill committed Jun 15, 2017
1 parent e0dddfe commit ee52caf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions conf/apigen/templates/@layout.latte
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ the file LICENSE.md that was distributed with this source code.
</a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu">
<li><a tabindex="-1" href="/master">master</a></li>
<li><a tabindex="-1" href="/3.6">3.6</a></li>
<li><a tabindex="-1" href="/3.5">3.5</a></li>
<li><a tabindex="-1" href="/3.4">3.4</a></li>
<li><a tabindex="-1" href="/3.3">3.3</a></li>
Expand Down
4 changes: 2 additions & 2 deletions htdocs/.htaccess
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
RewriteEngine On

# "Symlink" a "current" folder to the latest release
RewriteRule ^current/?(.*)? /3.5/$1 [R=301]
RewriteRule ^current/?(.*)? /3.6/$1 [R=301]

# "Symlink" the root to the latest release (with "moved temporarily")
RewriteRule ^/?$ /3.5/ [R=302,L]
RewriteRule ^/?$ /3.6/ [R=302,L]

# Lookup script (used to be a SS app, now just a simple script)
RewriteCond %{REQUEST_URI} !^/search/lookup\.php
Expand Down

0 comments on commit ee52caf

Please sign in to comment.