setMessagesStoreType(debug::STORE_FILE); $debug->setErrorsStoreType(debug::STORE_FILE); $debug->enable(); unset($debug); // composer require_once ROOT.'/../vendor/autoload.php';