Skip to content

Commit ee07b92

Browse files
committed
🐛 md5(null) on env->host in CLI
Signed-off-by: bnomei <[email protected]>
1 parent de07954 commit ee07b92

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

classes/Blueprints/BlueprintCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static function rememberCacheDir(): void
2929

3030
public static function cacheDirMemoryFile(): string
3131
{
32-
return __DIR__.'/../../dir-'.md5(kirby()->environment()->host()).'.cache';
32+
return __DIR__.'/../../dir-'.md5(kirby()->environment()->host() ?? '_').'.cache';
3333
}
3434

3535
public static function cacheDir(): ?string

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "bnomei/kirby-blueprints",
33
"type": "kirby-plugin",
4-
"version": "4.4.9",
4+
"version": "4.4.10",
55
"license": "MIT",
66
"homepage": "https://github.com/bnomei/kirby3-blueprints",
77
"description": "PHP Class-based Blueprints for Kirby CMS for better type safety and code completion",

vendor/composer/installed.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php return array(
22
'root' => array(
33
'name' => 'bnomei/kirby-blueprints',
4-
'pretty_version' => '4.4.9',
5-
'version' => '4.4.9.0',
4+
'pretty_version' => '4.4.10',
5+
'version' => '4.4.10.0',
66
'reference' => null,
77
'type' => 'kirby-plugin',
88
'install_path' => __DIR__ . '/../../',
@@ -11,8 +11,8 @@
1111
),
1212
'versions' => array(
1313
'bnomei/kirby-blueprints' => array(
14-
'pretty_version' => '4.4.9',
15-
'version' => '4.4.9.0',
14+
'pretty_version' => '4.4.10',
15+
'version' => '4.4.10.0',
1616
'reference' => null,
1717
'type' => 'kirby-plugin',
1818
'install_path' => __DIR__ . '/../../',

0 commit comments

Comments
 (0)