import system apps on initial load

This commit is contained in:
Mario Vavti 2017-02-06 13:45:46 +01:00
parent 91bc8d473f
commit 8059260c18
2 changed files with 7 additions and 9 deletions

View file

@ -255,7 +255,11 @@ EOT;
//app bin
if(local_channel()) {
//Zlib\Apps::import_system_apps();
if(get_pconfig(local_channel(), 'system','initial_import_system_apps') === false) {
Zlib\Apps::import_system_apps();
set_pconfig(local_channel(), 'system','initial_import_system_apps', 1);
}
$syslist = array();
$list = Zlib\Apps::app_list(local_channel(), false, 'nav_featured_app');
if($list) {

View file

@ -5,12 +5,6 @@
padding: 20px;
}
.app-detail {
height: 130px;
overflow-x: hidden;
overflow-y: hidden;
}
.app-tools {
margin-bottom: 0;
.app-name {
margin: 10px 0px;
}