Skip to content

Having to rename install directory is messy #5

Description

@mdda

... and doesn't work if you're using one kohana/kohanut install for a number of sites.

Solution : add the following to the top of the action_index() function in classes/controller/kohanut/install/install.php :
if(count(Database::instance()->list_tables('kohanut_layouts'))>0) {
$this->request->response = new View('kohanut/install-success');
return;
}

and change views/kohanut/install-success.php to remove the instruction to rename the file...

Hope this helps.
Martin
:-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions