I would like to install Kohana PHP framework. The site is on a shared web hotel. I have tried to follow the instructions on Kohana's website.
kohana
directoryapplication/bootstrap.php
...and here comes the problem. When I visit the site, this message is shown:No direct script access.
And I have no idea about what I should do. I haven't seen anything about this in the documentation. I have tried to give more rights to some of the files, but it's hard to know what to do. Anyone that has any suggestions?
According to the instructions, you are to open application/bootstrap.php
in your text editor to make the requested changes. Visiting it in your browser probably gives you that message, because at the top of Kohana files appear to be the line
defined('SYSPATH') or die('No direct script access.');
or something similar. This is used in many PHP projects to prevent hacking into a file that should only be included.