a
This commit is contained in:
parent
3d53269b2a
commit
8703c294dd
|
|
@ -432,26 +432,18 @@
|
||||||
// $style = "background-color: #F5DF4D;";
|
// $style = "background-color: #F5DF4D;";
|
||||||
$style = "background-color: $colorTests;";
|
$style = "background-color: $colorTests;";
|
||||||
$test = "MODE TEST";
|
$test = "MODE TEST";
|
||||||
|
|
||||||
|
error_reporting(E_ALL);
|
||||||
|
ini_set('display_errors', 1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT);
|
error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT);
|
||||||
ini_set('display_errors', 0);
|
ini_set('display_errors', 0);
|
||||||
ini_set('log_errors', 1);
|
|
||||||
ini_set('error_log', __DIR__ . '/logs/error.log');
|
|
||||||
}
|
}
|
||||||
|
ini_set('log_errors', 1);
|
||||||
|
ini_set('error_log', __DIR__ . '/logs/error.log');
|
||||||
|
|
||||||
if (DEBUG_MODE) {
|
|
||||||
error_reporting(E_ALL);
|
|
||||||
ini_set('display_errors', 1);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
error_reporting(E_ALL);
|
|
||||||
ini_set('display_errors', 0);
|
|
||||||
ini_set('log_errors', 1);
|
|
||||||
ini_set('error_log', __DIR__ . '/logs/error.log');
|
|
||||||
}
|
|
||||||
//var_dump($style);
|
//var_dump($style);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user