Skip to content

Commit

Permalink
Merge pull request #1009 from hhunderter/Beta-2.2.2
Browse files Browse the repository at this point in the history
Betatest 2.2.2
  • Loading branch information
hhunderter authored Jul 28, 2024
2 parents 40e9328 + 5851384 commit 32e416e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions application/modules/admin/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ public function getUpdate(string $installedVersion): string
removeDir(APPLICATION_PATH . '/libraries/Ilch/BBCode');

// Add second updateserver.
$this->db()->insert('updateservers')
$this->db()->insert('admin_updateservers')
->values(['url' => 'https://ilch.blackcoder.de/stable/', 'operator' => 'ilch', 'country' => 'Germany'])
->execute();

Expand All @@ -1018,7 +1018,7 @@ public function getUpdate(string $installedVersion): string
}

// Fix server information. There have been cases "in the wild" where this was altered.
$this->db()->update('updateservers')
$this->db()->update('admin_updateservers')
->values(['operator' => 'ilch', 'country' => 'Germany'])
->where(['url' => 'https://www.ilch.de/ilch2_updates/stable/'])
->execute();
Expand Down
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

define('PHPVERSION', '7.4');
if (!version_compare(PHP_VERSION, PHPVERSION, '>=')) {
die('Ilch CMS 2 needs at least php version 7.4');
die('Ilch CMS 2 needs at least php version ' . PHPVERSION);
}

@ini_set('display_errors', 'on');
Expand All @@ -31,7 +31,7 @@
$serverTimeZone = @date_default_timezone_get();
date_default_timezone_set('UTC');

define('VERSION', '2.2.1');
define('VERSION', '2.2.2');
define('SERVER_TIMEZONE', $serverTimeZone);
define('DEFAULT_MODULE', 'page');
define('DEFAULT_LAYOUT', 'index');
Expand Down

0 comments on commit 32e416e

Please sign in to comment.