Changeset 2978
- Timestamp:
- 07/07/2008 11:37:11 AM (3 months ago)
- Location:
- trunk/system
- Files:
-
- 2 modified
-
core/Kohana.php (modified) (1 diff)
-
libraries/View.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/core/Kohana.php
r2887 r2978 764 764 * @param string filename to look for (including extension only if 4th parameter is TRUE) 765 765 * @param boolean file required 766 * @param booleanfile extension766 * @param string file extension 767 767 * @return array if the type is config, i18n or l10n 768 768 * @return string if the file is found -
trunk/system/libraries/View.php
r2593 r2978 45 45 public function __construct($name = NULL, $data = NULL, $type = NULL) 46 46 { 47 if ( ! empty($name))47 if (is_string($name) AND $name !== '') 48 48 { 49 49 // Set the filename
