From ae6e8ee3d4a2f51fe9980005f38f030098764233 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Thu, 4 Mar 2010 05:00:13 +0000 Subject: [PATCH] BUGFIX: removed DebugView requirement. --- code/DocumentationViewer.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/code/DocumentationViewer.php b/code/DocumentationViewer.php index bf26200..6122734 100755 --- a/code/DocumentationViewer.php +++ b/code/DocumentationViewer.php @@ -36,9 +36,7 @@ class DocumentationViewer extends Controller { * installed modules */ function index() { - $renderer = new DebugView(); - $renderer->writeHeader(); - $renderer->writeInfo("SilverStripe Documentation", ''); + $this->writeHeader(); $base = Director::baseURL(); // write the main content (sapphire) on the left @@ -78,7 +76,7 @@ class DocumentationViewer extends Controller { echo ""; - $renderer->writeFooter(); + $this->writeFooter(); } /**