pluf2

pluf2 Commit Details


Date:2009-05-28 04:59:03 (15 years 6 months ago)
Author:Loic d'Anterroches
Branch:master
Commit:710db67557c89cea3aa553b492a182b5939ac390
Parents: 3cdac775e92b1ec85c6f95d1b39079eddb612d53
Message:Fixed to ignore when not the rights to write the file.

Changes:

File differences

src/Pluf.php
9696
9797
9898
99
100
101
102
99
100
101
102
103103
104104
105105
// statement and possibly in the configuration file.
if ($usecache) {
$s = var_export(array($GLOBALS['_PX_models'], $GLOBALS['_PX_signal']), true);
file_put_contents($cache,
'<?php return '.$s.';'."\n",
LOCK_EX);
chmod($cache, 0755);
if (@file_put_contents($cache, '<?php return '.$s.';'."\n",
LOCK_EX)) {
chmod($cache, 0755);
}
}
}

Archive Download the corresponding diff file

Branches

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