Skip to content

Latest commit

 

History

History
14 lines (14 loc) · 460 Bytes

README.md

File metadata and controls

14 lines (14 loc) · 460 Bytes

-- Add module

  1. phalcon module --name=backend --namespace=Webapp\Backend --output=apps
  2. Add to services.php $router->add("/backend", array( 'module' => 'backend', 'namespace' => 'Webapp\Backend\Controllers', 'controller' => 'index', 'action' => 'index', ));
  3. Add to modules.php 'backend' => array( 'className' => 'Webapp\Backend\Module', 'path' => DIR . '/../apps/backend/Module.php' )