Updated project licence to BSD3CC and import Index through Composer.
This commit is contained in:
parent
f628c8ad76
commit
f292e64322
6 changed files with 154 additions and 214 deletions
|
@ -12,24 +12,17 @@ define('MSZ_CLI', PHP_SAPI === 'cli');
|
|||
define('MSZ_DEBUG', is_file(MSZ_ROOT . '/.debug'));
|
||||
define('MSZ_PUBLIC', MSZ_ROOT . '/public');
|
||||
define('MSZ_SOURCE', MSZ_ROOT . '/src');
|
||||
define('MSZ_LIBRARIES', MSZ_ROOT . '/lib');
|
||||
define('MSZ_CONFIG', MSZ_ROOT . '/config');
|
||||
define('MSZ_TEMPLATES', MSZ_ROOT . '/templates');
|
||||
define('MSZ_MIGRATIONS', MSZ_ROOT . '/database');
|
||||
define('MSZ_ASSETS', MSZ_ROOT . '/assets');
|
||||
|
||||
define('MSZ_NDX_PATH', MSZ_LIBRARIES . '/index');
|
||||
define('MSZ_NDX_PATH_DEV', MSZ_LIBRARIES . '/index-dev');
|
||||
require_once MSZ_ROOT . '/vendor/autoload.php';
|
||||
|
||||
require_once (MSZ_DEBUG && is_dir(MSZ_NDX_PATH_DEV) ? MSZ_NDX_PATH_DEV : MSZ_NDX_PATH) . '/index.php';
|
||||
|
||||
Autoloader::addNamespace(__NAMESPACE__, MSZ_SOURCE);
|
||||
Environment::setDebug(MSZ_DEBUG);
|
||||
|
||||
mb_internal_encoding('utf-8');
|
||||
date_default_timezone_set('utc');
|
||||
|
||||
require_once MSZ_ROOT . '/vendor/autoload.php';
|
||||
require_once MSZ_ROOT . '/utility.php';
|
||||
require_once MSZ_SOURCE . '/perms.php';
|
||||
require_once MSZ_SOURCE . '/manage.php';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue