Changeset 228 for trunk/trax/vendor/trax/action_controller.php
- Timestamp:
- 07/16/06 09:53:11 (6 years ago)
- Files:
-
- 1 modified
-
trunk/trax/vendor/trax/action_controller.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/trax/vendor/trax/action_controller.php
r210 r228 1171 1171 $path = substr($layout, 0, strripos($layout, "/")); 1172 1172 $layout = $layouts_base_path."/".$path."/".$file.".".Trax::$views_extension; 1173 } else {1173 } elseif(file_exists($this->layouts_path."/".$layout.".".Trax::$views_extension)) { 1174 1174 # Is there a layout for the current controller 1175 1175 $layout = $this->layouts_path."/".$layout.".".Trax::$views_extension; 1176 } 1177 1176 } else { 1177 $layout = $layouts_base_path."/".$layout.".".Trax::$views_extension; 1178 } 1178 1179 if(file_exists($layout)) { 1179 1180 $layout_file = $layout;
