Pluf Framework

Sign in or create your account | Project List | Help

Pluf Framework Commit Details

Date:2009-05-28 11:59:03 (1 year 3 months ago)
Author:Loïc d'Anterroches
Commit:710db67557c89cea3aa553b492a182b5939ac390
Message:Fixed to ignore when not the rights to write the file.

Files: src/Pluf.php (1 diff)

Change Details

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

Archive Download the corresponding diff file

Branches:
develop
master