ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilMediaObjectSetupConfig.php
Go to the documentation of this file.
1<?php
2
19use ILIAS\Setup;
20
25{
26 protected ?string $path_to_ffmpeg = null;
27
28 public function __construct(
29 ?string $path_to_ffmpeg
30 ) {
31 $this->path_to_ffmpeg = $this->toLinuxConvention($path_to_ffmpeg);
32 }
33
34 protected function toLinuxConvention(?string $p): ?string
35 {
36 if (!$p) {
37 return null;
38 }
39 return preg_replace("/\\\\/", "/", $p);
40 }
41
42 public function getPathToFFMPEG(): ?string
43 {
45 }
46}
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...