mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-09-30 05:09:21 +02:00
MINOR Updated sapphiredocs
git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@116584 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
139b6084bb
commit
b3961ee2ab
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
format: 1
|
format: 1
|
||||||
handler:
|
handler:
|
||||||
commit: 94121f0a662555aefa6871726f57f56de5332edb
|
commit: b1c93bd27a232267a2ab9e05f9372982b0781236
|
||||||
branch: master
|
branch: master
|
||||||
lock: false
|
lock: false
|
||||||
repository_class: Piston::Git::Repository
|
repository_class: Piston::Git::Repository
|
||||||
|
@ -156,7 +156,7 @@ class DocumentationViewer extends Controller {
|
|||||||
$this->module = $firstParam;
|
$this->module = $firstParam;
|
||||||
$this->lang = $secondParam;
|
$this->lang = $secondParam;
|
||||||
|
|
||||||
if(isset($thirdParam) && (is_numeric($thirdParam))) {
|
if(isset($thirdParam) && (is_numeric($thirdParam) || in_array($thirdParam, array('master', 'trunk')))) {
|
||||||
$this->version = $thirdParam;
|
$this->version = $thirdParam;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user