sforkowany z mirror/friendica
Merge pull request #6735 from annando/install
Don't allow calling the install page after the install2022.09-rc
commit
38a4e12cf3
|
@ -43,6 +43,10 @@ class Install extends BaseModule
|
|||
{
|
||||
$a = self::getApp();
|
||||
|
||||
if (!$a->getMode()->isInstall()) {
|
||||
Core\System::httpExit(403);
|
||||
}
|
||||
|
||||
// route: install/testrwrite
|
||||
// $baseurl/install/testrwrite to test if rewrite in .htaccess is working
|
||||
if ($a->getArgumentValue(1, '') == 'testrewrite') {
|
||||
|
|
Ładowanie…
Reference in New Issue