Skip to content

Commit

Permalink
1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Eywek committed Oct 10, 2017
1 parent e175295 commit 90e8876
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Controller/Component/EyPluginComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ private function checkSecure($slug)
return false;

// Check files
foreach ($content['files'] as $file => $size) {
/*foreach ($content['files'] as $file => $size) {
if (!file_exists($path . DS . $file))
return false;
if (($fileSize = filesize($path . DS . $file)) === $size)
Expand All @@ -274,7 +274,7 @@ private function checkSecure($slug)
return false;
else if ($size > $fileSize && (($fileSize / $size) * 100) < 75)
return false;
}
}*/

// Check if purchased
if (in_array($configuration['apiID'], $cache['plugins'])) // in not purchased used plugins list
Expand Down

0 comments on commit 90e8876

Please sign in to comment.