Skip to content

Commit b013cd1

Browse files
committed
Add installer existence check
Fixes #9769
1 parent 9720181 commit b013cd1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

public_html/installer.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,13 @@
1414
| This is the public entry point for all HTTP requests to the |
1515
| Roundcube Installer. |
1616
+-----------------------------------------------------------------------+
17-
| Author: Thomas Bruederli <roundcube@gmail.com> |
1817
| Author: Aleksander Machniak <alec@alec.pl> |
1918
+-----------------------------------------------------------------------+
2019
*/
2120

21+
if (!file_exists(__DIR__ . '/../installer/index.php')) {
22+
http_response_code(404);
23+
exit;
24+
}
25+
2226
require __DIR__ . '/../installer/index.php';

0 commit comments

Comments
 (0)