I have created yesterday new project with phalcon developer tools with option "multi".
I have got structure like this:
app
--> Core
--> User
--> Controller --> SecurityController.php --> View --> Security --> login.phtml
config
public
In config/services.php I have changed routing to look like:
$di['router'] = function () {
$router = new Router(); $router->add('/login', array( 'module' => 'User', 'controller' => 'Security', 'action' => 'login', )); return $router;
};
But when I am trying to access https://example.com/login, I am getting this error:
SecurityController handler class cannot be loaded
Can someone please let me know what I am doing wrong?