HTML/FlexyFramework/Page.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 22 Sep 2011 02:47:02 +0000 (10:47 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 22 Sep 2011 02:47:02 +0000 (10:47 +0800)
HTML/FlexyFramework/Page.php

index b3b8ae7..6e162b3 100644 (file)
@@ -238,8 +238,8 @@ class HTML_FlexyFramework_Page  {
     function output() 
     {
         
-        if (!$this->cli && method_exists($classobj,'output')) {
-            $classobj->output(); 
+        if (!empty($this->cli)) {
+            return;
         }
         
         /* output the body if no masterTemplate is set */