Update install.php

Use sys_get_temp_dir() to get the temp directory
This commit is contained in:
FusionPBX 2024-06-25 20:12:57 -06:00 committed by GitHub
parent eb4104bd9a
commit 2bb2bb79eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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