wiki plugin for CakePHP 3.x
PROBLEM
├──> DESCRIPTION
└──> RELATED PROBLEMS
└──> DESCRIPTION
- PHP 5+
- GD extension
composer require robjuz/cakephp-kovicky
add to your config/bootstrap.php
Plugin::load('KoVicky',['routes' => true]);
add to your webroots folder (webserver need write access)
/webroot/uploads
To create the required database tables use the migrations plugin
bin/cake migrations migrate -p KoVicky
-
Be sure your database has a
users
table withusername
andpassword
columns -
Add this to src/AppController.php
$this->loadComponent('Auth', [
'loginAction' => [
'controller' => 'Users',
'action' => 'login',
'prefix' => false,
'plugin' => false
],
'authorize' => 'Controller'
]);
- in src/AppController.php implement
public function isAdmin(){
}