Explorar el Código

Update footer.php

Use sys_get_temp_dir() to get the temp directory
FusionPBX hace 1 año
padre
commit
937a09d545
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      resources/footer.php

+ 2 - 2
resources/footer.php

@@ -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
@@ -292,4 +292,4 @@
 //$statsauth = "a3az349x2bf3fdfa8dbt7x34fas5X";
 //require_once "stats/stat_sadd.php";
 
-?>
+?>