parent
24fd6b1bc5
commit
1f7d03dfd4
|
@ -2811,7 +2811,7 @@ class H5PCore {
|
||||||
public function checkSetupForRequirements() {
|
public function checkSetupForRequirements() {
|
||||||
$errors = $this->checkSetupErrorMessage();
|
$errors = $this->checkSetupErrorMessage();
|
||||||
|
|
||||||
$this->h5pF->setOption('disable_hub', !empty($errors));
|
$this->h5pF->setOption('hub_is_disabled', !empty($errors));
|
||||||
if (!empty($errors)) {
|
if (!empty($errors)) {
|
||||||
foreach ($errors as $err) {
|
foreach ($errors as $err) {
|
||||||
$this->h5pF->setErrorMessage($err);
|
$this->h5pF->setErrorMessage($err);
|
||||||
|
|
Loading…
Reference in New Issue