Skip to content
Snippets Groups Projects
Verified Commit 309d1742 authored by Bartek Jaskulski's avatar Bartek Jaskulski
Browse files

fix: correct cache path

parent 9786f20f
Branches
Tags
3 merge requests!3improve into wp-hook and some additional unfinished things,!21.x,!1Draft: Basic implementation of plugin initializer
......@@ -96,7 +96,7 @@ final class PluginInit {
}
private function get_cache_dir(): string {
return $this->filename . '/' . $this->config->get( 'cache_path', 'generated' );
return dirname( $this->filename ) . '/' . $this->config->get( 'cache_path', 'generated' );
}
private function initialize_container( Plugin $plugin ): Container {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment