use configured session path in cleanupSessions
[tine20] / tine20 / Tinebase / Controller.php
index 8bd0b1e..f7084fb 100644 (file)
@@ -504,7 +504,7 @@ class Tinebase_Controller extends Tinebase_Controller_Event
         
         if (strtolower($backendType) == 'file') {
             $maxLifeTime = ($config->session && $config->session->lifetime) ? $config->session->lifetime : 86400;
-            $path = ini_get('session.save_path');
+            $path = Tinebase_Session_Abstract::getSessionDir();
             
             $unlinked = 0;
             try {