diff --git a/app.yml b/app.yml deleted file mode 100644 index 91a1a24..0000000 --- a/app.yml +++ /dev/null @@ -1,7 +0,0 @@ -runtime: php72 - -env_variables: - APP_ENV: "prod" - APP_SECRET: YOUR_APP_SECRET - DATABASE_URL: "sqlite:///%kernel.project_dir%/var/app.db" - PUT_TOKEN: YOUR_PUT_TOKEN diff --git a/src/Kernel.php b/src/Kernel.php index 4247b87..785b0be 100644 --- a/src/Kernel.php +++ b/src/Kernel.php @@ -50,20 +50,4 @@ protected function configureRoutes(RouteCollectionBuilder $routes): void $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob'); $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob'); } - - public function getCacheDir() - { - if ($this->environment === 'prod') { - return sys_get_temp_dir(); - } - return $this->getProjectDir() . '/var/cache/' . $this->environment; - } - - public function getLogDir() - { - if ($this->environment === 'prod') { - return sys_get_temp_dir(); - } - return $this->getProjectDir() . '/var/log'; - } }