Issues (762)

config/config.php (1 issue)

Severity
1
<?php
2
3
/**
4
 * configuration file
5
 */
6
7
//should a HTML comment "<!-- page was generated in xxx seconds -->" be added to every page?
8
define('ACTIVATE_BENCHMARK', true);
9
10
define('OPTION_PRELOAD_CLASSES', false);
11
12
/**
13
 * debug mode
14
 *
15
 * Dont use this in production!
16
 */
17
define('DEBUG_MODE', true);
18
19
/**
20
 * if this option is enabled you will see a sql query history on end of every page as html comment
21
 *
22
 * depends on DEBUG_MODE option
23
 */
24
define("DEBUG_SQL_QUERIES", true);
25
26
define("CACHING", true);
27
28
//clear PHP 7 OpCache f
29
define('CLEAR_OP_CACHE', true);
30
31
//logging enabled?
32
define('LOGGING_ENABLED', true);
33
34
//show all errors
35
error_reporting(E_ALL);
36
37
$config = array(
38
	'PHP_BENCHMARK' => true
39
);
40
41
?>
0 ignored issues
show
It is not recommended to use PHP's closing tag ?> in files other than templates.

Using a closing tag in PHP files that only contain PHP code is not recommended as you might accidentally add whitespace after the closing tag which would then be output by PHP. This can cause severe problems, for example headers cannot be sent anymore.

A simple precaution is to leave off the closing tag as it is not required, and it also has no negative effects whatsoever.

Loading history...
42