diff --git a/Lib/Configuration.php b/Lib/Configuration.php index ad09e61..c2d50fa 100644 --- a/Lib/Configuration.php +++ b/Lib/Configuration.php @@ -1,5 +1,4 @@ values['session']['save_path'] = session_save_path(); if(!file_exists($this->custom_config)) { - throw new \BSR\Lib\Exception\UsageException('No configuration.local.php file was found. Create it with the proper config.'); + throw new \RuntimeException('No configuration.local.php file was found. Create it with the proper config.'); } $configuration = include_once $this->custom_config; diff --git a/Lib/Exception/UsageException.php b/Lib/Exception/UsageException.php index 1fc258d..cae0488 100644 --- a/Lib/Exception/UsageException.php +++ b/Lib/Exception/UsageException.php @@ -16,4 +16,4 @@ class UsageException extends WebException { const TOO_FEW_ARGS = 103; const TOO_MANY_ARGS = 104; -} \ No newline at end of file +}