diff options
Diffstat (limited to 'core/plugin/openimg/openimg.rb')
-rw-r--r-- | core/plugin/openimg/openimg.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/plugin/openimg/openimg.rb b/core/plugin/openimg/openimg.rb index cdc7a268..1888ec9f 100644 --- a/core/plugin/openimg/openimg.rb +++ b/core/plugin/openimg/openimg.rb @@ -168,7 +168,7 @@ Plugin.create :openimg do end end - pattern = JSON.parse(file_get_contents(File.expand_path(File.join(File.dirname(__FILE__), 'pattern_file.json')))) + pattern = JSON.parse(file_get_contents(File.expand_path(File.join(File.dirname(__FILE__), 'pattern_file.json'))), create_additions: true) pattern.each{ |name, config| addsupport(Regexp.new(config["url"]), config["attribute"]) } |