Skip to content

Commit

Permalink
Should allow snapinClient to use legacy method as thats the only way …
Browse files Browse the repository at this point in the history
…to download files at this point in time
  • Loading branch information
mastacontrola committed Jul 19, 2024
1 parent 206fef3 commit 4479e23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/web/lib/client/fogclient.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public function __construct(
$method = 'json';
}
}
if ($method != 'json') {
if (!in_array($this->shortName,['snapin','snapinclient']) && $method != 'json') {
throw new Exception(
_('Please update your FOG Client, this is old and insecure')
);
Expand Down
2 changes: 1 addition & 1 deletion packages/web/lib/fog/system.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ private static function _versionCompare()
public function __construct()
{
self::_versionCompare();
define('FOG_VERSION', '1.5.10.37');
define('FOG_VERSION', '1.5.10.41');
define('FOG_SCHEMA', 270);
define('FOG_BCACHE_VER', 140);
define('FOG_CLIENT_VERSION', '0.13.0');
Expand Down

0 comments on commit 4479e23

Please sign in to comment.