Revert "Error in OC.filePath ? (call /index.php/settings/ajax/... instead of /settings/ajax/...)"

This reverts commit 6f4c4befae7675adc4c6f8db22f3e3484a103b9e.