|
Revision 3700, 359 bytes
(checked in by Shadowhand, 12 days ago)
|
|
Updates to trunk:
- Removed all SYSPATH file checks
- Deleted some modules: code_coverage (3.0), shoutbox (defunct), user_guide (defunct), kobot (3.0), object_db (3.0)
- Updated ORM and ORM_Iterator to match 3.0, enabling the new HABTM stuff, see r3636 and r3640
|
-
Property svn:eol-style set to
LF
-
Property copyright set to
Copyright (c) 2008 Kohana Team
-
Property svn:keywords set to
Id
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | |
|---|
| 3 | class View extends View_Core { |
|---|
| 4 | |
|---|
| 5 | public function __construct($name, $data = NULL, $type = NULL) |
|---|
| 6 | { |
|---|
| 7 | $type = NULL; |
|---|
| 8 | |
|---|
| 9 | if (Kohana::config('smarty.integration') == TRUE AND Kohana::find_file('views', $name, FALSE, $type)) |
|---|
| 10 | { |
|---|
| 11 | $type = empty($type) ? Kohana::config('smarty.templates_ext') : $type; |
|---|
| 12 | } |
|---|
| 13 | |
|---|
| 14 | parent::__construct($name, $data, $type); |
|---|
| 15 | } |
|---|
| 16 | } |
|---|