Explorar o código

Remove smarty php cache

FusionPBX %!s(int64=2) %!d(string=hai) anos
pai
achega
996d0b6ac8
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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' ";