Skip to content

Commit

Permalink
Add dummy index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Feb 9, 2025
1 parent d02f2e0 commit 0675156
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/installto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ if (strtolower($input) == 'y') {
}
}

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

Expand Down
3 changes: 3 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

exit('Please, configure your HTTP server to point to the /public_html directory (with fallback to /public_html/index.php.');

0 comments on commit 0675156

Please # to comment.