Created
July 8, 2017 06:15
-
-
Save iparrabb/163b7159b3e0a0db208e32884fa7c2dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development'); | |
//debe retornar development | |
die(var_dump(ENVIRONMENT)); | |
switch (ENVIRONMENT) | |
{ | |
case 'development': | |
error_reporting(E_ALL); //modifica esta línea a ver si así aparecen | |
ini_set('display_errors', 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment