diff --git a/core/authentication/resources/classes/plugins/database.php b/core/authentication/resources/classes/plugins/database.php index 070dccc7a8..aad1fda3f2 100644 --- a/core/authentication/resources/classes/plugins/database.php +++ b/core/authentication/resources/classes/plugins/database.php @@ -77,9 +77,6 @@ class plugin_database { $domain_array = explode(":", $_SERVER["HTTP_HOST"]); $domain_name = $domain_array[0]; - //temp directory - $_SESSION['server']['temp']['dir'] = '/tmp'; - //create token //$object = new token; //$token = $object->create('login'); diff --git a/core/authentication/resources/classes/plugins/email.php b/core/authentication/resources/classes/plugins/email.php index 881d33bc03..40754f7066 100644 --- a/core/authentication/resources/classes/plugins/email.php +++ b/core/authentication/resources/classes/plugins/email.php @@ -68,9 +68,6 @@ class plugin_email { $domain_array = explode(":", $_SERVER["HTTP_HOST"]); $domain_name = $domain_array[0]; - //temp directory - $_SESSION['server']['temp']['dir'] = '/tmp'; - //use the session username if (isset($_SESSION['username'])) { $_POST['username'] = $_SESSION['username']; @@ -323,9 +320,6 @@ class plugin_email { $domain_array = explode(":", $_SERVER["HTTP_HOST"]); $domain_name = $domain_array[0]; - //temp directory - $_SESSION['server']['temp']['dir'] = '/tmp'; - //create token //$object = new token; //$token = $object->create('login'); diff --git a/core/authentication/resources/classes/plugins/ldap.php b/core/authentication/resources/classes/plugins/ldap.php index 753f6c2d66..3fe2ec859b 100644 --- a/core/authentication/resources/classes/plugins/ldap.php +++ b/core/authentication/resources/classes/plugins/ldap.php @@ -39,9 +39,6 @@ class plugin_ldap { $domain_array = explode(":", $_SERVER["HTTP_HOST"]); $domain_name = $domain_array[0]; - //temp directory - $_SESSION['server']['temp']['dir'] = '/tmp'; - //create token //$object = new token; //$token = $object->create('login'); diff --git a/core/authentication/resources/classes/plugins/totp.php b/core/authentication/resources/classes/plugins/totp.php index 481a095faa..d12132d1ad 100644 --- a/core/authentication/resources/classes/plugins/totp.php +++ b/core/authentication/resources/classes/plugins/totp.php @@ -80,9 +80,6 @@ class plugin_totp { $domain_array = explode(":", $_SERVER["HTTP_HOST"]); $domain_name = $domain_array[0]; - //temp directory - $_SESSION['server']['temp']['dir'] = '/tmp'; - //create token //$object = new token; //$token = $object->create('login'); @@ -190,9 +187,6 @@ class plugin_totp { $domain_array = explode(":", $_SERVER["HTTP_HOST"]); $domain_name = $domain_array[0]; - //temp directory - $_SESSION['server']['temp']['dir'] = '/tmp'; - //create token //$object = new token; //$token = $object->create('login'); diff --git a/core/install/install.php b/core/install/install.php index bf9d64ad0a..9f6724a153 100644 --- a/core/install/install.php +++ b/core/install/install.php @@ -350,9 +350,6 @@ $domain_array = explode(":", $_SERVER["HTTP_HOST"]); $domain_name = $domain_array[0]; -//temp directory - $_SESSION['server']['temp']['dir'] = '/tmp'; - //initialize a template object $view = new template(); $view->engine = 'smarty';