Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A disabled plugin MUST NOT be loaded!
#3
n00dles101 Wrote:Unfortunately the system as it is must read each file to get the plugin information, name etc...

Yes, I agree, thus a plugin is initially enabled.
But as the plugin rules say that the plugin name is the same as its filename there is no need to read it again, once it is disabled.

You can cache the plugin information in an XML.
Or - I suppose - you can read all plugins when displaying the plugin list, it shouldn't do any harm. But don't load the plugins at any other time.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
A disabled plugin MUST NOT be loaded! - by mvlcek - 2011-05-15, 02:38:57
A disabled plugin MUST NOT be loaded! - by mvlcek - 2011-05-15, 03:46:47



Users browsing this thread: 3 Guest(s)