https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
cd36329
)
Merge pull request #6737 from MrPetovan/bug/6630-fix-empty-label-profile
author
Michael Vogel
<icarus@dabo.de>
Sun, 24 Feb 2019 05:34:48 +0000
(06:34 +0100)
committer
GitHub
<noreply@github.com>
Sun, 24 Feb 2019 05:34:48 +0000
(06:34 +0100)
Fix "EMPTY" label in profile
src/Module/Install.php
patch
|
blob
|
history
diff --git
a/src/Module/Install.php
b/src/Module/Install.php
index
d1e2677
..
de19bc8
100644
(file)
--- a/
src/Module/Install.php
+++ b/
src/Module/Install.php
@@
-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') {