From 8059260c185aa267d15f2a7d9d0df0c21140ad69 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 6 Feb 2017 13:45:46 +0100 Subject: import system apps on initial load --- include/nav.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/nav.php') diff --git a/include/nav.php b/include/nav.php index 3c97d42da..70e9bfc59 100644 --- a/include/nav.php +++ b/include/nav.php @@ -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) { -- cgit v1.2.3