PHP function parameters don't work properly?
<p>I'm trying to set up a website using MVC, but I'm stuck at the very beginning.</p>

<p>In project0/application/controllers I have a pages.php file which looks like:</p>

<pre><code>&lt;?php

class Pages extends CI_Controller {

public function view($page = 'home')
{

if (!file_exists('application/views/pages/'.$page.'.php'))
{
    // Whoops, we don't have a page for that!
    show_404();
}

$data['title'] = ucfirst($page); // Capitalize the first letter

$this-&gt;load-&gt;view('templates/header', $data);
$this-&gt;load-&gt;view('pages/'.$page, $data);
$this-&gt;load-&gt;view('templates/footer', $data);

}
}
</code></pre>

<p>and in project0/application/views/pages two files named home.php and about.php, containing a "Hello world".</p>

<p>When I want to visit <a href="http://project0/index.php/pages/view/about" rel="nofollow">http://project0/index.php/pages/view/about</a>, it gives me the 404 error: it seems the home.php or about.php files are not existing.</p>

<p>Can somebody help me out?</p>
