swisnl/json-api-server

getRelationships windows problem

Closed this issue · 0 comments

sm3k commented

getRelationships function on windows local server don't return relationships

pathinfo($returnType)['basename']
on linux return fullname
on windows return only filename

offer to edit like this:

pathinfo($returnType)['dirname'].'\\'.pathinfo($returnType)['filename']

maybe there will be workaround and you have another solutions to fix it