reenable debug parameter

The parameter got lost when switching to website settings.
Given that the use of a fixed parameter is limited,
debugging output can now only be set via the URL parameter.
This commit is contained in:
Sarah Hoffmann
2020-07-08 08:32:46 +02:00
parent 7ecfcf7eaa
commit d364afdf3b
3 changed files with 2 additions and 3 deletions

View File

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