- added ADMIN index file

- cleanup config
- added Asset Controller
This commit is contained in:
Maurice Grönwoldt 2020-05-31 17:00:05 +02:00
commit fe7bacd2f6
14 changed files with 300 additions and 33 deletions

View file

@ -17,16 +17,23 @@ $config->setDatabase([
// used for external batch-mailing and error reporting.
// please generate login data at: api.vstz.dev
// api will check this data before processing
$config->setAPIAuth([
'useAPI' => true,
'url' => 'https://api.vstz.dev/v1/',
'user' => 'vstz',
'pw' => '6(f&B~ZxH3DfC#qJ',
'logsError' => true
]);
/**
* BATCH Mailing is something that will send only mails after a specific time like 1 min.
* it is used to prevent spamming.
* batch mailing only works via API!... if API not used BatchMailing will disabled... or you have a cron that works like a batch...
*/
$config->setMail([
'useBatch' => true, //if true it will not send mails.
'writeToDB' => true, //is needed for batch and is always true if batch is used
'writeToDB' => true, //is needed for batch and is always true if batch is use
//this stuff is only important if not using batch mailing!
'host' => 'localhost',
'port' => '587',
@ -43,9 +50,11 @@ $config->setRender([
'baseFile' => 'base', //this will called after all templates are rendered...
'useCache' => false, //is only on big systems good
'cacheName' => 'defaultCache', //this is for bigger systems, ignore it
'uploadDir' => 'content/'
]);
$config->setMaintainMode(false);
$config->setDevMode(true);
$config->setBaseUrl(''); // can changed to something like that: https://example.com !not enter a / after the url! this will break all
$config->close();