Skip to content
Snippets Groups Projects
Commit 4375e67f authored by alangrafu's avatar alangrafu
Browse files

bug2

parent 0439cb47
No related branches found
No related tags found
No related merge requests found
......@@ -5,8 +5,8 @@ class ServiceModule extends abstractModule{
public function match($uri){
global $conf;
global $acceptContentType;
global $acceptContentType;
global $localUri;
$q = preg_replace('|^'.$conf['basedir'].'|', '', $localUri);
$qArr = explode('/', $q);
if(sizeof($qArr)==0){
......@@ -24,7 +24,7 @@ class ServiceModule extends abstractModule{
Utils::send406($uri);// $qArr[0];
}
if(is_dir($auxModelFile) && is_file($auxViewFile)){
return $uri;// $qArr[0];
return $localUri;// $qArr[0];
}
return FALSE;
......
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