diff --git a/ServiceProvider.php b/ServiceProvider.php index 4a2cb3b..fae6dfa 100644 --- a/ServiceProvider.php +++ b/ServiceProvider.php @@ -16,7 +16,7 @@ final class ServiceProvider extends ServiceProviderBase public function boot(): void { $this->publishes([ - __DIR__ . '/../config.php' => config_path('csrf.php'), + __DIR__ . '/config.php' => config_path('csrf.php'), ], 'config'); } diff --git a/updates/version.yaml b/updates/version.yaml index 266a011..1ab17cf 100644 --- a/updates/version.yaml +++ b/updates/version.yaml @@ -3,3 +3,4 @@ 1.1.1: "Prevent error on CSRF token conversion -- See: https://github.com/vdlp/oc-csrf-plugin/releases/tag/1.1.1" 1.1.2: "Update plugin dependencies" 2.0.0: "Support for PHP 7.4 or higher" +2.0.1: "Fix location of plugin config.php file"