mirror of
https://github.com/Karaka-Management/oms-Knowledgebase.git
synced 2026-01-27 16:58:39 +00:00
test fixes and changes for release
This commit is contained in:
parent
58908e2752
commit
1b32256f34
|
|
@ -50,7 +50,7 @@ class WikiCategory implements \JsonSerializable
|
|||
* @var string|WikiCategoryL11n
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $name = '';
|
||||
private string | WikiCategoryL11n $name = '';
|
||||
|
||||
/**
|
||||
* Parent category.
|
||||
|
|
@ -117,7 +117,7 @@ class WikiCategory implements \JsonSerializable
|
|||
{
|
||||
if ($name instanceof WikiCategoryL11n) {
|
||||
$this->name = $name;
|
||||
} elseif (isset($this->name) && $this->name instanceof WikiCategoryL11n) {
|
||||
} elseif ($this->name instanceof WikiCategoryL11n) {
|
||||
$this->name->name = $name;
|
||||
} else {
|
||||
$this->name = new WikiCategoryL11n();
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user