Complete refactor of the install script

This commit is contained in:
Kayou
2019-02-23 00:46:33 +01:00
parent baa678b6d5
commit 6ed5b79d45
8 changed files with 562 additions and 338 deletions

View File

@@ -22,11 +22,11 @@
function configure() {
option('env', ENV_PRODUCTION);
option('debug', false);
option('base_uri', '<TPL:NGINX_LOCATION>/');
option('base_uri', '__PATH__/');
layout('layout.html.php');
define('PUBLIC_DIR', '<TPL:NGINX_LOCATION>/public');
define('PUBLIC_DIR', '__PATH__/public');
}
// Before routing