mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-23 18:15:28 +03:00
[ActionFactory] Prevent leaking working directory (#2480)
This commit is contained in:
parent
d94bb08259
commit
6585ebc89b
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class ActionFactory extends FactoryAbstract {
|
|||
$filePath = $this->buildFilePath($name);
|
||||
|
||||
if(!file_exists($filePath)) {
|
||||
throw new \Exception('File ' . $filePath . ' does not exist!');
|
||||
throw new \Exception('Action ' . $name . ' does not exist!');
|
||||
}
|
||||
|
||||
require_once $filePath;
|
||||
|
|
Loading…
Reference in a new issue