Browse Source

Add dummy index.php

pull/9768/head
Aleksander Machniak 4 months ago
parent
commit
0675156ab2
  1. 2
      bin/installto.sh
  2. 3
      index.php

2
bin/installto.sh

@ -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'];

3
index.php

@ -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.');
Loading…
Cancel
Save