Commit 047eb647 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #5260 Check for json support during setup

Showing with 8 additions and 0 deletions
+8 -0
...@@ -95,6 +95,14 @@ class Step_Checks extends setupStep ...@@ -95,6 +95,14 @@ class Step_Checks extends setupStep
$M = TRUE; $M = TRUE;
$basic_checks[] = array('NAME' => $N , 'DESC' => $D , 'RESULT' => $R , 'SOLUTION' => $S , 'MUST' => $M ); $basic_checks[] = array('NAME' => $N , 'DESC' => $D , 'RESULT' => $R , 'SOLUTION' => $S , 'MUST' => $M );
/* Check for json support */
$N = msgPool::checkingFor('json');
$D = _('FusionDirectory requires this module to encode variables for javascript use.');
$S = msgPool::installPhpModule('json');
$R = is_callable('json_encode');
$M = TRUE;
$basic_checks[] = array('NAME' => $N , 'DESC' => $D , 'RESULT' => $R , 'SOLUTION' => $S , 'MUST' => $M );
/* Check for iconv */ /* Check for iconv */
$N = msgPool::checkingFor("iconv"); $N = msgPool::checkingFor("iconv");
$D = _("FusionDirectory requires this module for the samba integration."); $D = _("FusionDirectory requires this module for the samba integration.");
......
  • bmortier @bmortier

    mentioned in issue #1667

    By tbp on 2017-09-02T15:34:20 (imported from GitLab)

    ·

    mentioned in issue #1667

    By tbp on 2017-09-02T15:34:20 (imported from GitLab)

    Toggle commit list
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment