original_string: protected function _initEnvironment()
      {
          if (!$this->_bootstrap()) {
              $message = "Unable to load CakePHP core.\nMake sure Cake exists in " . CAKE_CORE_INCLUDE_PATH;
              throw new Exception($message);
          }
  
          if (function_exists('ini_set')) {
              ini_set('html_errors', '0');
              ini_set('implicit_flush', '1');
              ini_set('max_execution_time', '0');
          }
  
          $this->shiftArgs();
      }
code: protected function _initEnvironment()
      {
          if (!$this->_bootstrap()) {
              $message = "Unable to load CakePHP core.\nMake sure Cake exists in " . CAKE_CORE_INCLUDE_PATH;
              throw new Exception($message);
          }
  
          if (function_exists('ini_set')) {
              ini_set('html_errors', '0');
              ini_set('implicit_flush', '1');
              ini_set('max_execution_time', '0');
          }
  
          $this->shiftArgs();
      }
code_tokens: protected function _initEnvironment ( ) { if ( ! $ this -> _bootstrap ( ) ) { $ message = "Unable to load CakePHP core.\nMake sure Cake exists in " . CAKE_CORE_INCLUDE_PATH ; throw new Exception ( $ message ) ; } if ( function_exists ( 'ini_set' ) ) { ini_set ( 'html_errors' , '0' ) ; ini_set ( 'implicit_flush' , '1' ) ; ini_set ( 'max_execution_time' , '0' ) ; } $ this -> shiftArgs ( ) ; }
docstring: Defines current working environment.
  
  @return void
  @throws \Cake\Core\Exception\Exception
docstring_tokens: Defines current working environment .