mirror of
https://github.com/friendica/friendica
synced 2024-11-20 01:03:41 +00:00
Merge pull request #6735 from annando/install
Don't allow calling the install page after the install
This commit is contained in:
commit
38a4e12cf3
1 changed files with 4 additions and 0 deletions
|
@ -43,6 +43,10 @@ class Install extends BaseModule
|
||||||
{
|
{
|
||||||
$a = self::getApp();
|
$a = self::getApp();
|
||||||
|
|
||||||
|
if (!$a->getMode()->isInstall()) {
|
||||||
|
Core\System::httpExit(403);
|
||||||
|
}
|
||||||
|
|
||||||
// route: install/testrwrite
|
// route: install/testrwrite
|
||||||
// $baseurl/install/testrwrite to test if rewrite in .htaccess is working
|
// $baseurl/install/testrwrite to test if rewrite in .htaccess is working
|
||||||
if ($a->getArgumentValue(1, '') == 'testrewrite') {
|
if ($a->getArgumentValue(1, '') == 'testrewrite') {
|
||||||
|
|
Loading…
Reference in a new issue