mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Template engine use sys_get_temp_dir
Used to get the operating system temp directory.
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
$view = new template();
|
||||
$view->engine = 'smarty';
|
||||
$view->template_dir = $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH.'/themes/'.$_SESSION['domain']['template']['name'].'/';
|
||||
$view->cache_dir = $_SESSION['server']['temp']['dir'] ?: sys_get_temp_dir();
|
||||
$view->cache_dir = sys_get_temp_dir();
|
||||
$view->init();
|
||||
|
||||
//add multi-lingual support
|
||||
|
||||
Reference in New Issue
Block a user