From svn at muze.nl Fri Jan 9 21:32:58 2009 From: svn at muze.nl (ewout) Date: Fri, 09 Jan 2009 21:32:58 +0100 Subject: [Ariadne3-svn] patch: r256 - trunk/lib/core/Ariadne/Driver/FileStore Message-ID: Author: ewout Date: 2009-01-09 10:39:59 +0100 (Fri, 09 Jan 2009) New Revision: 256 Modified: trunk/lib/core/Ariadne/Driver/FileStore/Disc.php Log: Changed directory creation for FileStore::Disc to recursive (with mode 0775) Modified: trunk/lib/core/Ariadne/Driver/FileStore/Disc.php =================================================================== --- trunk/lib/core/Ariadne/Driver/FileStore/Disc.php 2007-09-04 15:14:33 UTC (rev 255) +++ trunk/lib/core/Ariadne/Driver/FileStore/Disc.php 2009-01-09 09:39:59 UTC (rev 256) @@ -98,7 +98,7 @@ { if (!is_dir($this->config['dsn'] . $scope . $path)) { - mkdir($this->config['dsn'] . $scope . $path); + mkdir($this->config['dsn'] . $scope . $path, 0775, true); } $written = file_put_contents($this->filename($scope, $path, $file), $data); return $written === false ? false : (strlen($data) === $written);