import system apps on initial load
This commit is contained in:
parent
91bc8d473f
commit
8059260c18
@ -255,7 +255,11 @@ EOT;
|
|||||||
|
|
||||||
//app bin
|
//app bin
|
||||||
if(local_channel()) {
|
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();
|
$syslist = array();
|
||||||
$list = Zlib\Apps::app_list(local_channel(), false, 'nav_featured_app');
|
$list = Zlib\Apps::app_list(local_channel(), false, 'nav_featured_app');
|
||||||
if($list) {
|
if($list) {
|
||||||
|
@ -5,12 +5,6 @@
|
|||||||
padding: 20px;
|
padding: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.app-detail {
|
.app-name {
|
||||||
height: 130px;
|
margin: 10px 0px;
|
||||||
overflow-x: hidden;
|
|
||||||
overflow-y: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.app-tools {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user