mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Start using the module order.
This commit is contained in:
@@ -391,7 +391,9 @@ function save_module_xml() {
|
||||
$xml .= "<configuration name=\"modules.conf\" description=\"Modules\">\n";
|
||||
$xml .= " <modules>\n";
|
||||
|
||||
$sql = "select * from v_modules order by module_name='mod_commands' OR module_category = 'Languages' OR module_category = 'Loggers' DESC, module_category ";
|
||||
$sql = "select * from v_modules ";
|
||||
$sql .= "order by module_order ASC ";
|
||||
$sql .= "module_category ASC";
|
||||
$prep_statement = $db->prepare(check_sql($sql));
|
||||
$prep_statement->execute();
|
||||
$prev_module_cat = '';
|
||||
|
||||
Reference in New Issue
Block a user