Skip to content

Commit

Permalink
Merge pull request #4450 from getkirby/release/3.7.0.2
Browse files Browse the repository at this point in the history
3.7.0.2
  • Loading branch information
bastianallgeier authored Jul 1, 2022
2 parents d57e2b5 + b63a439 commit 9e89103
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "The Kirby 3 core",
"license": "proprietary",
"type": "kirby-cms",
"version": "3.7.0.1",
"version": "3.7.0.2",
"keywords": [
"kirby",
"cms",
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/Http/Uri.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,12 +244,12 @@ public static function current(array $props = [])
}

if ($app = App::instance(null, true)) {
$url = $app->url('current');
$environment = $app->environment();
} else {
$url = (new Environment())->requestUrl();
$environment = new Environment();
}

return new static($url, $props);
return new static($environment->requestUrl(), $props);
}

/**
Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php return array(
'root' => array(
'name' => 'getkirby/cms',
'pretty_version' => '3.7.0.1',
'version' => '3.7.0.1',
'pretty_version' => '3.7.0.2',
'version' => '3.7.0.2',
'reference' => NULL,
'type' => 'kirby-cms',
'install_path' => __DIR__ . '/../../',
Expand All @@ -29,8 +29,8 @@
'dev_requirement' => false,
),
'getkirby/cms' => array(
'pretty_version' => '3.7.0.1',
'version' => '3.7.0.1',
'pretty_version' => '3.7.0.2',
'version' => '3.7.0.2',
'reference' => NULL,
'type' => 'kirby-cms',
'install_path' => __DIR__ . '/../../',
Expand Down

0 comments on commit 9e89103

Please sign in to comment.