Skip to content

Commit

Permalink
Fix typo in GPM.php (#1427)
Browse files Browse the repository at this point in the history
  • Loading branch information
OleVik authored and flaviocopes committed Apr 14, 2017
1 parent 869b1c4 commit 1203b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/src/Grav/Common/GPM/GPM.php
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ public static function downloadPackage($package_file, $tmp)
$filename = basename($package['path']);

if (Grav::instance()['config']->get('system.gpm.official_gpm_only') && $package['host'] !== 'getgrav.org') {
throw new \RuntimeException("Only offical GPM URLs are allowed. You can modify this behavior in the System configuration.");
throw new \RuntimeException("Only official GPM URLs are allowed. You can modify this behavior in the System configuration.");
}

$output = Response::get($package_file, []);
Expand Down

0 comments on commit 1203b0d

Please sign in to comment.