https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f8c9a0
)
Checks if JSON is enabled
author
Michael
<heluecht@pirati.ca>
Sat, 22 Dec 2018 20:40:00 +0000
(20:40 +0000)
committer
Michael
<heluecht@pirati.ca>
Sat, 22 Dec 2018 20:40:00 +0000
(20:40 +0000)
src/Core/Installer.php
patch
|
blob
|
history
diff --git
a/src/Core/Installer.php
b/src/Core/Installer.php
index
b84bcd9
..
912406a
100644
(file)
--- a/
src/Core/Installer.php
+++ b/
src/Core/Installer.php
@@
-405,6
+405,13
@@
class Installer
);
$returnVal = $returnVal ? $status : false;
+ $status = $this->checkFunction('json_encode',
+ L10n::t('JSON PHP module'),
+ L10n::t('Error: JSON PHP module required but not installed.'),
+ true
+ );
+ $returnVal = $returnVal ? $status : false;
+
$status = $this->checkFunction('imagecreatefromjpeg',
L10n::t('GD graphics PHP module'),
L10n::t('Error: GD graphics PHP module with JPEG support required but not installed.'),