Simple and uniform localized website title
This commit is contained in:
parent
91dbe63e00
commit
d5b218eed4
2 changed files with 3 additions and 3 deletions
|
@ -131,7 +131,7 @@ class InstallController extends ShaarliVisitorController
|
|||
} else {
|
||||
$this->container->conf->set(
|
||||
'general.title',
|
||||
'Shared bookmarks on ' . escape(index_url($this->container->environment))
|
||||
t('My links')
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -266,7 +266,7 @@ class InstallControllerTest extends TestCase
|
|||
static::assertSame('/subfolder/login', $result->getHeader('location')[0]);
|
||||
|
||||
static::assertSame('UTC', $confSettings['general.timezone']);
|
||||
static::assertSame('Shared bookmarks on http://shaarli/subfolder/', $confSettings['general.title']);
|
||||
static::assertSame('My links', $confSettings['general.title']);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -299,6 +299,6 @@ class InstallControllerTest extends TestCase
|
|||
static::assertSame('/login', $result->getHeader('location')[0]);
|
||||
|
||||
static::assertSame('UTC', $confSettings['general.timezone']);
|
||||
static::assertSame('Shared bookmarks on http://shaarli/', $confSettings['general.title']);
|
||||
static::assertSame('My links', $confSettings['general.title']);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue