Skip to content

Commit

Permalink
Check for License.md instead of composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
distantnative committed Jan 23, 2025
1 parent 99d5c1f commit 0097f02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/areas/system/views.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
if ($isLocal === true) {
$security[] = [
'id' => 'local',
'icon' =>'info',
'icon' => 'info',
'theme' => 'info',
'text' => I18n::translate('system.issues.local')
];
Expand Down
2 changes: 1 addition & 1 deletion src/Cms/System.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function exposedFileUrl(string $folder): string|null
case 'git':
return $url . '/config';
case 'kirby':
return $url . '/composer.json';
return $url . '/LICENSE.md';
case 'site':
$root = $this->app->root('site');
$files = glob($root . '/blueprints/*.yml');
Expand Down

0 comments on commit 0097f02

Please sign in to comment.