Skip to content
Snippets Groups Projects
Commit a274f325 authored by Daniel Hürtgen's avatar Daniel Hürtgen
Browse files

BUGFIX: cksum of ruleset.xml content should be generated not of path

parent ecb4fea6
2 merge requests!21Release 0.3.0,!19Bugfix/18 installer is installed seems not to work
......@@ -160,7 +160,7 @@ class Installer extends LibraryInstaller
protected function compareStandards(Standard $source, Standard $destination)
{
return $source->getName() === $destination->getName()
&& sha1($source->getRuleSetXmlPath()) === sha1($destination->getRuleSetXmlPath());
&& sha1_file($source->getRuleSetXmlPath()) === sha1_file($destination->getRuleSetXmlPath());
}
/**
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment