From: Michael J. Rubinsky Date: Wed, 31 Mar 2010 00:22:06 +0000 (-0400) Subject: Another place to ensure the state directory exists X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=e405fc0e976cd12b18ba7b9d43a60cb58e94c14b;p=horde.git Another place to ensure the state directory exists --- diff --git a/framework/ActiveSync/lib/Horde/ActiveSync/State/File.php b/framework/ActiveSync/lib/Horde/ActiveSync/State/File.php index 83e9d6548..b430658e0 100644 --- a/framework/ActiveSync/lib/Horde/ActiveSync/State/File.php +++ b/framework/ActiveSync/lib/Horde/ActiveSync/State/File.php @@ -476,6 +476,7 @@ class Horde_ActiveSync_State_File extends Horde_ActiveSync_State_Base if (empty($this->_pingState)) { throw new Horde_ActiveSync_Exception('PING state not initialized'); } + $this->_ensureUserDirectory(); $state = serialize(array('lifetime' => $this->_pingState['lifetime'], 'collections' => $this->_pingState['collections']));