Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasvielmetter committed Mar 20, 2024
1 parent e35a279 commit b6e0815
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/WrkLst/DocxMustache/DocxMustache.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __construct($items, $local_template_file, $storageDisk = 'local'
$this->template_file_name = basename($local_template_file);
$this->template_file = $local_template_file;
$this->word_doc = false;
$this->zipper = new \Madnest\Madzipper\Madzipper();
$this->zipper = new \WrkLst\Madzipper\Madzipper();

//name of disk for storage
$this->storageDisk = $storageDisk;
Expand Down Expand Up @@ -146,7 +146,7 @@ protected function exctractOpenXmlFile($file)
$pathPrefix = \Storage::disk($this->storageDisk)->path(''); // \Storage::disk($this->storageDisk)->getDriver()->getAdapter()->getPathPrefix();
$this->zipper
->make($pathPrefix.$this->local_path.$this->template_file_name)
->extractTo($pathPrefix.$this->local_path, [$file], \Madnest\Madzipper\Madzipper::WHITELIST);
->extractTo($pathPrefix.$this->local_path, [$file], \WrkLst\Madzipper\Madzipper::WHITELIST);
}

protected function ReadOpenXmlFile($file, $type = 'file')
Expand Down

0 comments on commit b6e0815

Please sign in to comment.