summaryrefslogtreecommitdiff
path: root/package/php/files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-04-25 15:03:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-04-25 15:03:07 +0200
commit30654e472d787a36f0c7f124eff14a077d0b7b8d (patch)
tree867fc145fc4fcfae68a0541d585660632289f74e /package/php/files
parent2838bc1e8e67492c116c888cb735678e957c9144 (diff)
add JSON support
Diffstat (limited to 'package/php/files')
-rw-r--r--package/php/files/php-mod-json.postinst3
-rw-r--r--package/php/files/php-mod-simplexml.postinst3
2 files changed, 6 insertions, 0 deletions
diff --git a/package/php/files/php-mod-json.postinst b/package/php/files/php-mod-json.postinst
new file mode 100644
index 000000000..d878837f2
--- /dev/null
+++ b/package/php/files/php-mod-json.postinst
@@ -0,0 +1,3 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+echo "extension=json.so" >> $IPKG_INSTROOT/etc/php.ini
diff --git a/package/php/files/php-mod-simplexml.postinst b/package/php/files/php-mod-simplexml.postinst
new file mode 100644
index 000000000..0d17ef13b
--- /dev/null
+++ b/package/php/files/php-mod-simplexml.postinst
@@ -0,0 +1,3 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+echo "extension=simplexml.so" >> $IPKG_INSTROOT/etc/php.ini