Permalink
Browse files

added @ to all chmod() calls to avoid PHP warnings (operation not per…

…mitted) when using CIFS or NTFSa (closes #2125)
  • Loading branch information...
1 parent 4ebd45f commit c57e62c886899f8d88264efad23c857eb198dc09 @fabpot fabpot committed May 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ClassCollectionLoader.php
View
2 ClassCollectionLoader.php
@@ -182,7 +182,7 @@ static private function writeCacheFile($file, $content)
{
$tmpFile = tempnam(dirname($file), basename($file));
if (false !== @file_put_contents($tmpFile, $content) && @rename($tmpFile, $file)) {
- chmod($file, 0666 & ~umask());
+ @chmod($file, 0666 & ~umask());
return;
}

0 comments on commit c57e62c

Please sign in to comment.