change exception name
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user