Commit 08561641 authored by Alain Vagner's avatar Alain Vagner

bug fix in extension handling

parent 97fef0f9
......@@ -368,7 +368,7 @@ class RESTC
}
if ($p = strrpos($pE, '.')) {
// handling of the extension
$ext = substr($pE, $p, strlen($pE));
$ext = substr($pE, $p+1, strlen($pE));
$result['ext'] = $ext;
$elem = substr($pE, 0, $p);
$result['elem'] = $elem;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment