mirror of
https://github.com/Karaka-Management/oms-Knowledgebase.git
synced 2026-02-14 01:08:42 +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
|
* @var string|WikiCategoryL11n
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $name = '';
|
private string | WikiCategoryL11n $name = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parent category.
|
* Parent category.
|
||||||
|
|
@ -117,7 +117,7 @@ class WikiCategory implements \JsonSerializable
|
||||||
{
|
{
|
||||||
if ($name instanceof WikiCategoryL11n) {
|
if ($name instanceof WikiCategoryL11n) {
|
||||||
$this->name = $name;
|
$this->name = $name;
|
||||||
} elseif (isset($this->name) && $this->name instanceof WikiCategoryL11n) {
|
} elseif ($this->name instanceof WikiCategoryL11n) {
|
||||||
$this->name->name = $name;
|
$this->name->name = $name;
|
||||||
} else {
|
} else {
|
||||||
$this->name = new WikiCategoryL11n();
|
$this->name = new WikiCategoryL11n();
|
||||||
|
|
|
||||||
|
|
@ -257,6 +257,25 @@ $CONFIG = [
|
||||||
'root' => '/',
|
'root' => '/',
|
||||||
'https' => false,
|
'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' => [
|
'socket' => [
|
||||||
'master' => [
|
'master' => [
|
||||||
'host' => '127.0.0.1',
|
'host' => '127.0.0.1',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user