test fixes and changes for release

This commit is contained in:
Dennis Eichhorn 2022-12-25 00:06:17 +01:00
parent dbc5142e79
commit 94d2e76016
2 changed files with 45 additions and 0 deletions

View File

@ -31,4 +31,30 @@ class EventTemplate extends Event
* @since 1.0.0
*/
private int $type = EventType::TEMPLATE;
/**
* Get event type.
*
* @return int
*
* @since 1.0.0
*/
public function getType() : int
{
return $this->type;
}
/**
* Set event type.
*
* @param int $type Event type
*
* @return void
*
* @since 1.0.0
*/
public function setType(int $type = EventType::TEMPLATE) : void
{
$this->type = $type;
}
}

View File

@ -257,6 +257,25 @@ $CONFIG = [
'root' => '/',
'https' => false,
],
'app' => [
'path' => __DIR__,
'default' => [
'app' => 'Backend',
'id' => 'backend',
'lang' => 'en',
'theme' => 'Backend',
'org' => 1,
],
'domains' => [
'127.0.0.1' => [
'app' => 'Backend',
'id' => 'backend',
'lang' => 'en',
'theme' => 'Backend',
'org' => 1,
],
],
],
'socket' => [
'master' => [
'host' => '127.0.0.1',