mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 11:05:56 +02:00
BUGFIX: removed DebugView requirement.
This commit is contained in:
parent
3a1a16a51e
commit
ae6e8ee3d4
@ -36,9 +36,7 @@ class DocumentationViewer extends Controller {
|
|||||||
* installed modules
|
* installed modules
|
||||||
*/
|
*/
|
||||||
function index() {
|
function index() {
|
||||||
$renderer = new DebugView();
|
$this->writeHeader();
|
||||||
$renderer->writeHeader();
|
|
||||||
$renderer->writeInfo("SilverStripe Documentation", '');
|
|
||||||
$base = Director::baseURL();
|
$base = Director::baseURL();
|
||||||
|
|
||||||
// write the main content (sapphire) on the left
|
// write the main content (sapphire) on the left
|
||||||
@ -78,7 +76,7 @@ class DocumentationViewer extends Controller {
|
|||||||
|
|
||||||
echo "</div>";
|
echo "</div>";
|
||||||
|
|
||||||
$renderer->writeFooter();
|
$this->writeFooter();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user