Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
fusiondirectory
fusiondirectory
Commits
047eb647
Commit
047eb647
authored
Dec 07, 2016
by
Côme Chilliet
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes
#5260
Check for json support during setup
parent
fbb35420
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
setup/class_setupStep_Checks.inc
setup/class_setupStep_Checks.inc
+8
-0
No files found.
setup/class_setupStep_Checks.inc
View file @
047eb647
...
...
@@ -95,6 +95,14 @@ class Step_Checks extends setupStep
$M
=
TRUE
;
$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 */
$N
=
msgPool
::
checkingFor
(
"iconv"
);
$D
=
_
(
"FusionDirectory requires this module for the samba integration."
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment