Maintenant, le debug php on l'active en "touch"-ant un fichier.

Evite de se looser dans les commits et autre, et on garde le debug activé
tout le long du developpement
This commit is contained in:
Alan Garcia 2013-02-18 10:34:09 +00:00
parent 938fcba146
commit 4e1a5027dc
1 changed files with 5 additions and 4 deletions

View File

@ -28,10 +28,11 @@
----------------------------------------------------------------------
*/
/* */
// To enable dispay of PHP errors
ini_set('display_errors', true);
/* */
// To enable the display of the alternc debug error, do the following :
// # touch /etc/alternc/alternc_display_php_error
if (file_exists('/etc/alternc/alternc_display_php_error')) {
ini_set('display_errors', true);
}
session_start();