浏览代码

Remove smarty php cache

FusionPBX 2 年之前
父节点
当前提交
996d0b6ac8
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      core/upgrade/app_defaults.php

+ 3 - 0
core/upgrade/app_defaults.php

@@ -26,6 +26,9 @@
 
 if ($domains_processed == 1) {
 
+	//remove smarty cache
+		system('rm '.sys_get_temp_dir().'/*.php');
+
 	//ensure the login message is set, if new message exists
 		$sql = "select count(*) as num_rows from v_default_settings ";
 		$sql .= "where default_setting_category = 'login' ";