ILIAS  release_8 Revision v8.24
class.ilPreviewSetupConfig.php
Go to the documentation of this file.
1<?php
2
19use ILIAS\Setup;
20
22{
23 protected ?string $path_to_ghostscript;
24
25 public function __construct(
27 ) {
28 $this->path_to_ghostscript = $this->toLinuxConvention($path_to_ghostscript);
29 }
30
31 protected function toLinuxConvention(?string $p): ?string
32 {
33 if (!$p) {
34 return null;
35 }
36 return preg_replace("/\\\\/", "/", $p);
37 }
38
39 public function getPathToGhostscript(): ?string
40 {
42 }
43}
__construct(?string $path_to_ghostscript)
A configuration for the setup.
Definition: Config.php:27
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...