Sha256: 8c4370502ec444c985bf652cad499a588ca1d3dc4a89ae8d0e6c1767b130cc7a
Contents?: true
Size: 907 Bytes
Versions: 17
Compression:
Stored size: 907 Bytes
Contents
=begin Camaleon CMS is a content management system Copyright (C) 2015 by Owen Peredo Diaz Email: owenperedo@gmail.com This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License (GPLv3) for more details. =end # load all custom initializers of plugins or themes if defined?(PluginRoutes) PluginRoutes.all_enabled_apps.each do |ap| if ap["path"].present? f = File.join(ap["path"], "config", "initializer.rb") eval(File.read(f)) if File.exist?(f) end end end
Version data entries
17 entries across 17 versions & 1 rubygems