/usr/share/php/kohana2/modules/smarty/libraries/MY_View.php is in libkohana2-modules-php 2.3.4-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | <?php defined('SYSPATH') OR die('No direct access allowed.');
class View extends View_Core {
public function __construct($name, $data = NULL, $type = NULL)
{
$smarty_ext = Kohana::config('smarty.templates_ext');
if (Kohana::config('smarty.integration') == TRUE AND Kohana::find_file('views', $name, FALSE, (empty($type) ? $smarty_ext : $type)))
{
$type = empty($type) ? $smarty_ext : $type;
}
parent::__construct($name, $data, $type);
}
}
|