move website settings back to settings/

We don't want the settings to become visible when a server is
accidentally configured wrongly.
This commit is contained in:
Sarah Hoffmann
2020-07-18 11:02:07 +02:00
parent 241e4af1b0
commit 3efe0dc8dc
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
<?php
@define('CONST_Debug', (isset($_GET['debug']) && $_GET['debug']));
require_once(dirname(dirname(__FILE__)).'/website/settings-frontend.php');
require_once(dirname(dirname(__FILE__)).'/settings/settings-frontend.php');
require_once(CONST_BasePath.'/@script_source@');

View File

@@ -701,7 +701,7 @@ class SetupFunctions
*/
public function setupWebsite()
{
$rOutputFile = fopen(CONST_InstallPath.'/website/settings-frontend.php', 'w');
$rOutputFile = fopen(CONST_InstallPath.'/settings/settings-frontend.php', 'w');
fwrite($rOutputFile, "<?php
@define('CONST_BasePath', '".CONST_BasePath."');