Skip to content
Permalink
Browse files

Fix Facebook addon on Fedora and other distros that explicitly remove…

…d JSON from PHP due to licensing issues
  • Loading branch information...
Patrick Schmalstig
Patrick Schmalstig committed Jul 23, 2019
1 parent 4eb2b07 commit b555e1b8ed27a59fad371358496528d52e1ce013
Showing with 2 additions and 0 deletions.
  1. +2 −0 sources_custom/facebook/facebook.php
@@ -15,6 +15,8 @@
* under the License.
*/
require_code('json'); // TODO: Remove in v11
if (!function_exists('curl_init')) {
throw new Exception('Facebook needs the CURL PHP extension.');
}

0 comments on commit b555e1b

Please sign in to comment.
You can’t perform that action at this time.