Make the application modular to have a "main" and "backend" part.
This commit is contained in:
parent
884f721002
commit
e5b0e1fcfd
28 changed files with 112 additions and 7 deletions
12
app/modules/Backend.php
Normal file
12
app/modules/Backend.php
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace App\Module;
|
||||
|
||||
class Backend extends Base
|
||||
{
|
||||
protected $_controllerPath = APP_PATH . '/app/controllers/backend';
|
||||
|
||||
protected $_controllerNamespace = 'App\Controller\Backend';
|
||||
|
||||
protected $_viewDir = '../app/views/backend/';
|
||||
}
|
||||
Reference in a new issue