I try to make a website with kohana.
I get error ErrorException [ Fatal Error ]: Class 'Controller_Template_Website' not found
for the code
Expand|Select|Wrap|Line Numbers
- 1 <?php defined('SYSPATH') or die('No direct script access.');
- 2
- 3 class Controller_Page extends Controller_Template_Website {
- 4
- 5 public function action_home()
- 6 {
- 7 $this->template->title = __('Welcome To Acme Widgets');
- 8
in application/classes/controller
files page.php and website.php.
In website.php there is a class called
Controller_Template_Website extends Controller_Template
In page.php there is a class Controller_Page extends Controller_Template_Website.
When I run page.php it does not see Controller_Template_Website
Thank You