I am trying to create a simple module to test things out and whenever I go to the module page http://mysite.com/testmodule I get a "forbidden, access denied" error.
the only thing the module does is echo out a test string:
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class testmodule extends Public_Controller
{
/**
* Constructor method
*
* @author PyroCMS Dev Team
* @access public
* @return void
*/
public function __construct()
{
parent::__construct();
echo 'test';
}
}
Any idea why this might be happening?