Skip to content

Commit 0675156

Browse files
committed
Add dummy index.php
1 parent d02f2e0 commit 0675156

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

bin/installto.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ if (strtolower($input) == 'y') {
7777
}
7878
}
7979

80-
$files = ['config/defaults.inc.php', 'composer.json-dist', 'jsdeps.json',
80+
$files = ['config/defaults.inc.php', 'composer.json-dist', 'jsdeps.json', 'index.php',
8181
'CHANGELOG.md', 'README.md', 'UPGRADING', 'LICENSE', 'INSTALL',
8282
'public_html/index.php', 'public_html/installer.php', 'public_html/static.php'];
8383

index.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?php
2+
3+
exit('Please, configure your HTTP server to point to the /public_html directory (with fallback to /public_html/index.php.');

0 commit comments

Comments
 (0)