Add new JSON files for documentation and scripts in the graphify cache
- Created JSON file for admin SPA test suite with detailed nodes and edges. - Added JSON file for Liara deployment documentation, including various steps and references. - Introduced JSON files for Liara pre-build and pre-start scripts, detailing their structure and entry points. - Included an empty JSON file indicating skipped data for non-config/manifest content.
This commit is contained in:
@@ -8,4 +8,16 @@ use Symfony\Component\HttpKernel\Kernel as BaseKernel;
|
||||
class Kernel extends BaseKernel
|
||||
{
|
||||
use MicroKernelTrait;
|
||||
|
||||
// On read-only-root PaaS (Liara), var/ is not writable. Redirect cache/log to a
|
||||
// writable path (e.g. /tmp) via env; falls back to the default var/ locally.
|
||||
public function getCacheDir(): string
|
||||
{
|
||||
return $_SERVER['APP_CACHE_DIR'] ?? parent::getCacheDir();
|
||||
}
|
||||
|
||||
public function getLogDir(): string
|
||||
{
|
||||
return $_SERVER['APP_LOG_DIR'] ?? parent::getLogDir();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user