change exception name

master
Guillermo Dev 7 years ago
parent e75a388eb0
commit 8b95056df4

@ -1,5 +1,4 @@
<?php <?php
namespace BSR\Lib; namespace BSR\Lib;
class Configuration { class Configuration {
@ -61,7 +60,7 @@ class Configuration {
$this->values['session']['save_path'] = session_save_path(); $this->values['session']['save_path'] = session_save_path();
if(!file_exists($this->custom_config)) { 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; $configuration = include_once $this->custom_config;

Loading…
Cancel
Save