From 2bb2bb79ebb58227a1bb0ee379702d569b28e8e7 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 25 Jun 2024 20:12:57 -0600 Subject: [PATCH] Update install.php Use sys_get_temp_dir() to get the temp directory --- core/install/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/install/install.php b/core/install/install.php index 13efb1a7c5..bf9d64ad0a 100644 --- a/core/install/install.php +++ b/core/install/install.php @@ -357,7 +357,7 @@ $view = new template(); $view->engine = 'smarty'; $view->template_dir = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/core/install/resources/views/'; - $view->cache_dir = $_SESSION['server']['temp']['dir']; + $view->cache_dir = sys_get_temp_dir(); $view->init(); //assign default values to the template