setVersion(1.0); $config->setDatabase([ 'type' => 'mysql', //please change only if you now what you're doing! this can break a lot. 'host' => '127.0.0.1', 'port' => '3306', //default port is 3306 'user' => 'venom', 'pw' => 'venomPassword', 'db' => 'venomCMS', 'extra' => ';' ]); // used for batch-mailing and error reporting. // please generate login data at: api.vstz.dev $config->setAPIAuth([ 'url' => 'https://api.vstz.dev/v1/', 'user' => 'vstz', 'pw' => '6(f&B~ZxH3DfC#qJ', 'logsError' => true ]); $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 //this stuff is only important if not using batch mailing! 'host' => 'localhost', 'port' => '587', 'useTLS' => true, //use startTLS. is the default case ;) here it's important the security Cert is secure... 'user' => 'no-reply@vstz.dev', 'password' => 'this-is-secret', 'from' => 'info@venom.io' ]); // all templates are in __DIR__/tpl/ // all themes are in __DIR__/public/theme/ $config->setRender([ 'theme' => 'default', //very important! it will search for a folder with this name. 'useCache' => false, //is only on big systems good 'cacheName' => 'defaultCache', //this is for bigger systems, ignore it ]); $config->setMaintainMode(false); $config->setDevMode(true); $config->close();