1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-02 19:27:52 +02:00

Engine Plugin: plugin system registration updates.

This commit is contained in:
Sergey Romanenko
2013-01-24 15:48:43 +02:00
parent 75fb5bfe92
commit bc037a6758

View File

@@ -68,7 +68,7 @@ class Plugin
$plugins = new Table('plugins'); $plugins = new Table('plugins');
// Select all plugins // Select all plugins
$records = $plugins->select(null, 'all', null, array('location', 'frontend', 'backend', 'status', 'priority'), 'priority', 'ASC'); $records = $plugins->select(null, 'all', null, array('location', 'status', 'priority'), 'priority', 'ASC');
// Now include plugins from $records plugins array // Now include plugins from $records plugins array
// If plugin is active then load it to the system. // If plugin is active then load it to the system.