|
@@ -88,7 +88,7 @@ class plugin_email {
|
|
$view = new template();
|
|
$view = new template();
|
|
$view->engine = 'smarty';
|
|
$view->engine = 'smarty';
|
|
$view->template_dir = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/core/authentication/resources/views/';
|
|
$view->template_dir = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/core/authentication/resources/views/';
|
|
- $view->cache_dir = $_SESSION['server']['temp']['dir'];
|
|
|
|
|
|
+ $view->cache_dir = sys_get_temp_dir();
|
|
$view->init();
|
|
$view->init();
|
|
|
|
|
|
//assign default values to the template
|
|
//assign default values to the template
|
|
@@ -338,7 +338,7 @@ class plugin_email {
|
|
$view = new template();
|
|
$view = new template();
|
|
$view->engine = 'smarty';
|
|
$view->engine = 'smarty';
|
|
$view->template_dir = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/core/authentication/resources/views/';
|
|
$view->template_dir = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/core/authentication/resources/views/';
|
|
- $view->cache_dir = $_SESSION['server']['temp']['dir'];
|
|
|
|
|
|
+ $view->cache_dir = sys_get_temp_dir();
|
|
$view->init();
|
|
$view->init();
|
|
|
|
|
|
//assign default values to the template
|
|
//assign default values to the template
|