aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-16 11:41:39 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-16 11:41:39 +0000
commit0e6609ba525892ee16aab648ea583944a51e2f56 (patch)
treed9d3ae725f279fe900b76940499d3d1f7961d963
parent3d4fb00759f4ddadf54fa9d0e7172a10ed58df5e (diff)
downloadelgg-0e6609ba525892ee16aab648ea583944a51e2f56.tar.gz
elgg-0e6609ba525892ee16aab648ea583944a51e2f56.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Refactored export to services/export for future expansion of other rest style endpoints git-svn-id: https://code.elgg.org/elgg/trunk@648 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--htaccess_dist12
-rw-r--r--services/export/handler.php (renamed from export/handler.php)0
2 files changed, 6 insertions, 6 deletions
diff --git a/htaccess_dist b/htaccess_dist
index 2e711e82c..10bfb1d5e 100644
--- a/htaccess_dist
+++ b/htaccess_dist
@@ -10,12 +10,12 @@ RewriteEngine on
RewriteRule ^action\/([A-Za-z\_\-\/]+)$ action_handler.php?action=$1
RewriteRule ^actions\/([A-Za-z\_\-\/]+)$ action_handler.php?action=$1
-RewriteRule ^odd\/([0-9]+)\/$ export/handler.php?view=odd&guid=$1
-RewriteRule ^odd\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z]+)\/$ export/handler.php?view=odd&guid=$1&type=$2&idname=$3
-RewriteRule ^php\/([0-9]+)\/$ export/handler.php?view=php&guid=$1
-RewriteRule ^php\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z]+)\/$ export/handler.php?view=php&guid=$1&type=$2&idname=$3
-RewriteRule ^json\/([0-9]+)\/$ export/handler.php?view=json&guid=$1
-RewriteRule ^json\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z]+)\/$ export/handler.php?view=json&guid=$1&type=$2&idname=$3
+RewriteRule ^odd\/([0-9]+)\/$ services/export/handler.php?view=odd&guid=$1
+RewriteRule ^odd\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z]+)\/$ services/export/handler.php?view=odd&guid=$1&type=$2&idname=$3
+RewriteRule ^php\/([0-9]+)\/$ services/export/handler.php?view=php&guid=$1
+RewriteRule ^php\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z]+)\/$ services/export/handler.php?view=php&guid=$1&type=$2&idname=$3
+RewriteRule ^json\/([0-9]+)\/$ services/export/handler.php?view=json&guid=$1
+RewriteRule ^json\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z]+)\/$ services/export/handler.php?view=json&guid=$1&type=$2&idname=$3
RewriteRule ^\_css\/css\.css$ _css/css.php
diff --git a/export/handler.php b/services/export/handler.php
index 2c8643a73..2c8643a73 100644
--- a/export/handler.php
+++ b/services/export/handler.php