koillection: init at 1.5.2
This commit is contained in:
25
pkgs/by-name/ko/koillection/koillection-dirs.patch
Normal file
25
pkgs/by-name/ko/koillection/koillection-dirs.patch
Normal file
@ -0,0 +1,25 @@
|
||||
*** a/src/Kernel.php
|
||||
--- b/src/Kernel.php
|
||||
@@ -8,6 +8,21 @@ class Kernel extends BaseKernel
|
||||
use Symfony\Component\HttpKernel\Kernel as BaseKernel;
|
||||
|
||||
class Kernel extends BaseKernel
|
||||
{
|
||||
use MicroKernelTrait;
|
||||
+
|
||||
+ public function getDataDir(): string
|
||||
+ {
|
||||
+ return '@dataDir@';
|
||||
+ }
|
||||
+
|
||||
+ public function getCacheDir(): string
|
||||
+ {
|
||||
+ return $this->getDataDir() . '/var/cache/' . $this->getEnvironment();
|
||||
+ }
|
||||
+
|
||||
+ public function getLogDir(): string
|
||||
+ {
|
||||
+ return $this->getDataDir() . '/var/logs';
|
||||
+ }
|
||||
}
|
||||
|
Reference in New Issue
Block a user