Pluf Framework

Pluf Framework Commit Details


Date:2010-09-01 07:21:37 (14 years 3 months ago)
Author:Loïc d'Anterroches
Branch:develop, master
Commit:d4b85db5658a86a27e8c9d3f1ac379eaddc5e2fd
Parents: dce15861ed8f89694907c96b153b23d35d828cae
Message:Fixed errors when several users with different ids access the same cache.

Changes:

File differences

src/Pluf/Cache/File.php
5252
5353
5454
55
5556
5657
5758
if (!file_exists($dir)) mkdir($dir, 0777, true);
$expire = time()+$timeout;
$success = file_put_contents($fname, $expire."\n".serialize($value), LOCK_EX);
chmod($fname, 0777);
return (false === $success) ? false : true;
}

Archive Download the corresponding diff file

Branches

Tags

Number of commits:
Page rendered in 0.06703s using 13 queries.