Pluf Framework

Pluf Framework Commit Details


Date:2009-05-28 04:59:03 (15 years 11 months ago)
Author:Loic d'Anterroches
Branch:develop, 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

Tags

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