Changeset 3168 for trunk/modules/smarty/controllers/smarty_demo.php
- Timestamp:
- 07/20/2008 08:34:36 PM (4 months ago)
- Files:
-
- 1 modified
-
trunk/modules/smarty/controllers/smarty_demo.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/smarty/controllers/smarty_demo.php
r2532 r3168 6 6 const ALLOW_PRODUCTION = FALSE; 7 7 8 public function index()9 {10 $welcome = new View('demo');11 $welcome->message = "Welcome to the Kohana!";8 public function index() 9 { 10 $welcome = new View('demo'); 11 $welcome->message = "Welcome to the Kohana!"; 12 12 13 $welcome->render(TRUE);14 }13 $welcome->render(TRUE); 14 } 15 15 }
