refactor: Add is_build_time property to nixpacks_php_fallback_path and nixpacks_php_root_dir

This commit is contained in:
Andras Bacsai 2024-06-25 12:43:16 +02:00
parent 3d9557bc50
commit 8b95b93c72

View File

@ -965,6 +965,7 @@ private function laravel_finetunes()
$nixpacks_php_fallback_path = new EnvironmentVariable();
$nixpacks_php_fallback_path->key = 'NIXPACKS_PHP_FALLBACK_PATH';
$nixpacks_php_fallback_path->value = '/index.php';
$nixpacks_php_fallback_path->is_build_time = false;
$nixpacks_php_fallback_path->application_id = $this->application->id;
$nixpacks_php_fallback_path->save();
}
@ -972,6 +973,7 @@ private function laravel_finetunes()
$nixpacks_php_root_dir = new EnvironmentVariable();
$nixpacks_php_root_dir->key = 'NIXPACKS_PHP_ROOT_DIR';
$nixpacks_php_root_dir->value = '/app/public';
$nixpacks_php_root_dir->is_build_time = false;
$nixpacks_php_root_dir->application_id = $this->application->id;
$nixpacks_php_root_dir->save();
}