1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-16 21:54:00 +02:00

[ticket/16944] Fix path and update iconify bundle

PHPBB3-16944
This commit is contained in:
Marc Alexander
2023-08-15 09:50:19 +02:00
parent a1b41f25ef
commit bd6cd8f2fc
3 changed files with 12 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ use Symfony\Component\Finder\Finder;
class iconify_bundler
{
protected const BUNDLE_PATH = 'assets/iconify/iconify_bundle.js';
protected const BUNDLE_PATH = 'assets/iconify/iconify-bundle.js';
protected $db;
@@ -83,6 +83,11 @@ class iconify_bundler
return file_get_contents($this->bundle_path);
}
return $this->create_bundle();
}
public function create_bundle(): string
{
$iconify_bundle = $this->with_extensions()
->with_styles()
->run();
@@ -187,7 +192,7 @@ class iconify_bundler
return $this;
}
protected function is_dumped(): bool
public function is_dumped(): bool
{
return $this->filesystem->exists($this->bundle_path) && $this->filesystem->is_readable($this->bundle_path);
}