|
@@ -36,7 +36,7 @@ discard block |
|
|
block discarded – undo |
|
36
|
36
|
try { |
|
37
|
37
|
list($domain, $finder, $rules, $options) = self::getThumbnailMeta($domain, $url); |
|
38
|
38
|
|
|
39
|
|
- $className = '\\WebThumbnailer\\Finder\\' . $finder . 'Finder'; |
|
|
39
|
+ $className = '\\WebThumbnailer\\Finder\\'.$finder.'Finder'; |
|
40
|
40
|
if (!class_exists($className)) { |
|
41
|
41
|
throw new UnsupportedDomainException(); |
|
42
|
42
|
} |
|
@@ -67,7 +67,7 @@ discard block |
|
|
block discarded – undo |
|
67
|
67
|
$jsonFiles = ConfigManager::get('settings.rules_filename', ['rules.json']); |
|
68
|
68
|
$allRules = []; |
|
69
|
69
|
foreach ($jsonFiles as $file) { |
|
70
|
|
- $allRules = array_merge($allRules, DataUtils::loadJson(FileUtils::RESOURCES_PATH . $file)); |
|
|
70
|
+ $allRules = array_merge($allRules, DataUtils::loadJson(FileUtils::RESOURCES_PATH.$file)); |
|
71
|
71
|
} |
|
72
|
72
|
|
|
73
|
73
|
$domain = null; |
Please login to merge, or discard this patch.