Hi
I am using file_exists to see if a PDF file exists on the server:
if(file_exists($latestNewsletter->url))
{
// link to pdf
}
but this is returning false.
The file definitely exists. If I change to !file_exists, the link is shown and links to the PDF correctly.
Does anyone know why this is happening?