My first time with this, please help me solve the problem!
I write this code in notepad and save as "site.php" - all files, open with Chrome by typing "http://localhost/ci/index.php/site", and this error appears:
Fatal error: Class 'Controller' not found in C:\xampp\htdocs\ci\application\controllers\site.php on line 3
..the code:
<?php
class Site extends Controller
{
function index()
{
echo 'hello';
}
}
?>
Would You please help me?
Thank You!