Merge pull request #1792 from yfdyh000/sitetitle
This commit is contained in:
commit
130008da03
2 changed files with 3 additions and 3 deletions
|
@ -131,7 +131,7 @@ public function save(Request $request, Response $response): Response
|
||||||
} else {
|
} else {
|
||||||
$this->container->conf->set(
|
$this->container->conf->set(
|
||||||
'general.title',
|
'general.title',
|
||||||
'Shared bookmarks on ' . escape(index_url($this->container->environment))
|
t('Shared Bookmarks')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -266,7 +266,7 @@ public function testSaveInstallDefaultValues(): void
|
||||||
static::assertSame('/subfolder/login', $result->getHeader('location')[0]);
|
static::assertSame('/subfolder/login', $result->getHeader('location')[0]);
|
||||||
|
|
||||||
static::assertSame('UTC', $confSettings['general.timezone']);
|
static::assertSame('UTC', $confSettings['general.timezone']);
|
||||||
static::assertSame('Shared bookmarks on http://shaarli/subfolder/', $confSettings['general.title']);
|
static::assertSame('Shared Bookmarks', $confSettings['general.title']);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -299,6 +299,6 @@ public function testSaveInstallDefaultValuesWithoutSubfolder(): void
|
||||||
static::assertSame('/login', $result->getHeader('location')[0]);
|
static::assertSame('/login', $result->getHeader('location')[0]);
|
||||||
|
|
||||||
static::assertSame('UTC', $confSettings['general.timezone']);
|
static::assertSame('UTC', $confSettings['general.timezone']);
|
||||||
static::assertSame('Shared bookmarks on http://shaarli/', $confSettings['general.title']);
|
static::assertSame('Shared Bookmarks', $confSettings['general.title']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue