* */ /** * Allow the setup page to load and perform its checks (including the check about the required extensions) */ if (!class_exists('DOMDocument')) { /** * Class DOMDocument */ class DOMDocument { public function __construct(string $version = "1.0", string $encoding = "") { throw new Exception('The dom extension is not enabled'); } } } /** * Allow the setup page to load and perform its checks (including the check about the required extensions) */ if (!class_exists('DOMElement')) { /** * Class DOMElement */ class DOMElement { public function __construct(string $qualifiedName, ?string $value = null, string $namespace = "") { throw new Exception('The dom extension is not enabled'); } } }