aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/nav.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/nav.php b/include/nav.php
index 5642f438f..41358c93e 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -212,9 +212,9 @@ function nav($template = 'default') {
//app bin
if($is_owner) {
- if(get_pconfig(local_channel(), 'system','initial_import_system_apps') === false) {
+ if(get_pconfig(local_channel(), 'system','import_system_apps') !== datetime_convert('UTC','UTC','now','Y-m-d')) {
Zlib\Apps::import_system_apps();
- set_pconfig(local_channel(), 'system','initial_import_system_apps', 1);
+ set_pconfig(local_channel(), 'system','import_system_apps', datetime_convert('UTC','UTC','now','Y-m-d'));
}
$syslist = array();