More use of list_active(), setup ajax actions that are check to be ajax
This commit is contained in:
@@ -45,7 +45,7 @@ class Config extends lnApp_Config {
|
||||
static $return = array();
|
||||
|
||||
if (! count($return))
|
||||
foreach (ORM::factory('module')->where('status','=',1)->find_all() as $mo)
|
||||
foreach (ORM::factory('module')->list_active() as $mo)
|
||||
$return[$mo->name] = MODPATH.$mo->name;
|
||||
|
||||
return $return;
|
||||
|
Reference in New Issue
Block a user