Changeset 106 for trunk/trax/vendor/trax/action_controller.php
- Timestamp:
- 01/01/06 21:37:32 (6 years ago)
- Files:
-
- 1 modified
-
trunk/trax/vendor/trax/action_controller.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/trax/vendor/trax/action_controller.php
r99 r106 199 199 if(file_exists(TRAX_LIB_ROOT."/scaffold_controller.php")) { 200 200 include_once(TRAX_LIB_ROOT."/scaffold_controller.php"); 201 $ this->controller_object = new ScaffoldController($scaffold, $this->controller, $this->action);201 $GLOBALS['current_controller_object'] = $this->controller_object = new ScaffoldController($scaffold, $this->controller, $this->action); 202 202 if($this->action) { 203 203 $this->view_file = TRAX_LIB_ROOT . "/templates/scaffolds/".$this->action.".phtml"; … … 291 291 ob_end_clean(); 292 292 293 if(file_exists($this->layout_file) ) {293 if(file_exists($this->layout_file) && $render_layout !== false) { 294 294 # render the layout 295 295 include($this->layout_file);
