summaryrefslogtreecommitdiff
path: root/extlib/facebook/jsonwrapper/jsonwrapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'extlib/facebook/jsonwrapper/jsonwrapper.php')
-rw-r--r--extlib/facebook/jsonwrapper/jsonwrapper.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/extlib/facebook/jsonwrapper/jsonwrapper.php b/extlib/facebook/jsonwrapper/jsonwrapper.php
new file mode 100644
index 000000000..29509deba
--- /dev/null
+++ b/extlib/facebook/jsonwrapper/jsonwrapper.php
@@ -0,0 +1,6 @@
+<?php
+# In PHP 5.2 or higher we don't need to bring this in
+if (!function_exists('json_encode')) {
+ require_once 'jsonwrapper_inner.php';
+}
+?>