Reputation: 16793
I have a problem with the PHP realpath always returning false how ever I pass the file path string.
By default I pass this the the realpath()
"/shop/templates/default/css/reset.css", I have also tried:
What could be causing this to break?
Upvotes: 5
Views: 11219
Reputation: 13461
Are you sure you have the correct path? It probably doesn't start with /shop in the filesystem.
Are your permissions correct?
realpath() requires:
realpath() doesn't work with URLs.
Upvotes: 11