Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mediashare committed Dec 21, 2019
1 parent eb85521 commit 5f64957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function getModules(Config $config) {
$modules = [];
foreach($modulesFiles as $moduleFile) {
require_once $moduleFile;
$className = "Mediashare\Spider\\Modules\\".basename($moduleFile, '.php');
$className = "Mediashare\\Spider\\Modules\\".basename($moduleFile, '.php');
$module = new $className();
$module->className = basename($moduleFile, '.php');
if ($config->enableModules) { // If all module enabled (-m)
Expand Down

0 comments on commit 5f64957

Please sign in to comment.