Skip to content

Commit

Permalink
🐛 proper key for fields on windows php serve
Browse files Browse the repository at this point in the history
⬆️ upgraded dependencies
  • Loading branch information
bnomei committed Mar 16, 2022
1 parent 236fa8e commit ca43bde
Show file tree
Hide file tree
Showing 16 changed files with 914 additions and 729 deletions.
1 change: 1 addition & 0 deletions classes/Autoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ private function registry(string $type): array
if ($options['key'] === 'relativepath') {
$key = $file->getRelativePathname();
$key = str_replace('.' . $extension, '', $key);
$key = str_replace('\\', '/', $key); // windows
if ($options['lowercase']) {
$key = strtolower($key);
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bnomei/autoloader-for-kirby",
"type": "project",
"version": "1.4.0",
"version": "1.4.1",
"license": "MIT",
"description": "Helper to automatically load various Kirby extensions in a plugin",
"authors": [
Expand Down
Loading

0 comments on commit ca43bde

Please sign in to comment.