Remove smarty php cache

This commit is contained in:
FusionPBX 2023-05-09 09:13:40 -06:00 committed by GitHub
parent 0880485e73
commit 43d33fb121
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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' ";