1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-02 12:21:09 +02:00

rollback change to permissions

This commit is contained in:
Nick del Pozo
2016-07-29 08:56:36 +09:00
parent 8be8cee9b3
commit 1f982d279f
2 changed files with 4 additions and 7 deletions

View File

@@ -199,7 +199,7 @@ class HTMLPurifier_DefinitionCache_Serializer extends HTMLPurifier_DefinitionCac
// set permissions of the new file (no execute)
$chmod = $config->get('Cache.SerializerPermissions');
if ($chmod !== null) {
chmod($file, $chmod);
chmod($file, $chmod & 0666);
}
}
return $result;