title: CodeIgniter - Blank page at default controller
body: <p>I'm using CI 3 in my last project on my localhost, then I uploaded it into a server. When I tried to load the web it's always show the blank page.<br/><br/>
  I have tried configure .htaccess, config.php, database.php, route.php it seems there shouldn't have any error, then I check index.php and tried to show some text.<br/><br/>
  I tried to insert :</p>
  
  <pre><code>echo "test"; die();
  </code></pre>
  
  <p>for every statement in index.php, at the first it show the "test" but it disappear after switch function for environment :</p>
  
  <pre><code>switch (ENVIRONMENT)
  {
      case 'development':
          error_reporting(-1);
          ini_set('display_errors', 1);
      break;
  case 'testing':
  case 'production':
      ini_set('display_errors', 0);
      if (version_compare(PHP_VERSION, '5.3', '&gt;='))
      {
          error_reporting(E_ALL &amp; ~E_NOTICE &amp; ~E_DEPRECATED &amp; ~E_STRICT &amp; ~E_USER_NOTICE &amp; ~E_USER_DEPRECATED);
      }
      else
      {
          error_reporting(E_ALL &amp; ~E_NOTICE &amp; ~E_STRICT &amp; ~E_USER_NOTICE);
      }
  break;
  
  default:
      header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
      echo 'The application environment is not set correctly.';
      exit(1); // EXIT_ERROR
  </code></pre>
  
  <p>}</p>
  
  <p>in <code>case 'development'</code> it's still show the 'test' string but when after break in this case, the 'test' string disappear. <br/> <br/>
  Can anybody fix this?</p>