Bladeren bron

Warn users not to enable DEBUG in productive environments

The debug mode should not be enabled in productive environments and is also a security risk since some apps outputs unsanitized debug data to the template.
tags/v5.0.0alpha1
Lukas Reschke 11 jaren geleden
bovenliggende
commit
0d6a577481
1 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  1. 2
    0
      config/config.sample.php

+ 2
- 0
config/config.sample.php Bestand weergeven

@@ -1,5 +1,7 @@
<?php

/* Only enable this for local development and not in productive environments */
/* This will disable the minifier and outputs some additional debug informations */
define("DEBUG", true);

$CONFIG = array(

Laden…
Annuleren
Opslaan