Thursday, August 1, 2013

Two things to get Kohana up and running

Here are 2 things to do right after meeting all requirements dictated by Kohana's install script:


  1. Set Cookie::$salt value in application/bootstrap.php:

    Cookie::$salt = 'my*salt*value*';
    

  2. Change base_url value in application/bootstrap.php to match the server configuration:

    Kohana::init(array(
     'base_url'   => '/my_app/',
    ));
    

    In this example, you should be calling http://myserver.com/my_app/

No comments: