Skip to content
Snippets Groups Projects
Commit 12d2d70d authored by alangrafu's avatar alangrafu
Browse files

localUri to serviceModule

parent 7bd49dee
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ class ServiceModule extends abstractModule{ ...@@ -8,7 +8,7 @@ class ServiceModule extends abstractModule{
global $acceptContentType; global $acceptContentType;
$q = preg_replace('|^'.$conf['basedir'].'|', '', $uri); $q = preg_replace('|^'.$conf['basedir'].'|', '', $uri);
$qArr = explode('/', $q); $qArr = explode('/', $q);
if(sizeof($qArr)==0){ if(sizeof($qArr)==0){
return FALSE; return FALSE;
} }
...@@ -42,7 +42,7 @@ class ServiceModule extends abstractModule{ ...@@ -42,7 +42,7 @@ class ServiceModule extends abstractModule{
$context['contentType'] = $acceptContentType; $context['contentType'] = $acceptContentType;
$context['endpoints'] = $endpoints; $context['endpoints'] = $endpoints;
$sp = new SpecialFunction(); $sp = new SpecialFunction();
$sp->execute($uri, $context); $sp->execute($localUri, $context);
exit(0); exit(0);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment