Archived
1
0
Fork 0

Make the application modular to have a "main" and "backend" part.

This commit is contained in:
Henrik Hautakoski 2018-10-09 22:26:01 +02:00
parent 884f721002
commit e5b0e1fcfd
No known key found for this signature in database
GPG key ID: 839F3A7EAFAEAFAA
28 changed files with 112 additions and 7 deletions

12
app/modules/Main.php Normal file
View file

@ -0,0 +1,12 @@
<?php
namespace App\Module;
class Main extends Base
{
protected $_controllerPath = APP_PATH . '/app/controllers';
protected $_controllerNamespace = 'App\Controller';
protected $_viewDir = '../app/views/main/';
}