Show
Ignore:
Timestamp:
03/14/06 16:37:19 (6 years ago)
Author:
john
Message:

small bug in AR fixed if no application.phtml not displaying view

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/trax/vendor/trax/action_controller.php

    r178 r179  
    670670                        $locals['content_for_layout'] = $content_for_layout; 
    671671                        # render the layout 
    672                         error_log("rendering layout: $layout_file"); 
     672                        //error_log("rendering layout: $layout_file"); 
    673673                        if(!$this->controller_object->render_file($layout_file, false, $locals)) { 
    674674                            # No layout template so just echo out whatever is in $content_for_layout 
     
    943943            $this->view_file = $this->views_path . "/" . $action . "." . $this->views_file_extention; 
    944944        } 
    945         error_log(get_class($this)." - render_action() view_file: $this->view_file"); 
     945        //error_log(get_class($this)." - render_action() view_file: $this->view_file"); 
    946946        return $this->render_file($this->view_file); 
    947947    }