Update provision.php

Use sys_get_temp_dir() to get the temp directory
This commit is contained in:
FusionPBX
2024-06-25 20:13:46 -06:00
committed by GitHub
parent 2bb2bb79eb
commit 7d2941124e

View File

@@ -662,7 +662,7 @@
$view->engine = "smarty";
}
$view->template_dir = $template_dir ."/".$device_template."/";
$view->cache_dir = $_SESSION['server']['temp']['dir'];
$view->cache_dir = sys_get_temp_dir();
$view->init();
//replace the variables in the template in the future loop through all the line numbers to do a replace for each possible line number