setEditor( 'sublime' ); $whoops->pushHandler( $error_page ); $whoops->register(); } setup_whoops(); /** * If is not debug active disable Kint * https://kint-php.github.io/kint/ */ Kint\Kint::$enabled_mode = is_debug();