Ticket #397 (closed defect: fixed)
PluginConfigParser - Make examples/ and includes/ not mandatory
| Reported by: | akrohn | Owned by: | alex94040 |
|---|---|---|---|
| Priority: | important | Milestone: | 1.1.1 Stable |
| Component: | Plugin Manager | Version: | 1.1 Development |
| Keywords: | plugin config | Cc: |
Description
Current plugin system is control oriented. But I'm currently working on a css plugin that installs no control. It crashed when I installed with only using:
$components = array();
// Taking the YAML contents
$components[] = new QPluginCssFile("yaml");
$components[] = new QPluginCssFile("images");
$components[] = new QPluginCssFile("css");
$objPlugin->addComponents($components);
$objPlugin->install();
Reason: files in /includes and examples/ were mandatory. This patch corrects that and checks if it exists, before parsing it.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
