Hi everyone I am wondering why this returns an empty string:
$settings = file_get_contents('/home/ec2-user/settings.json');
but this works:
$settings = file_get_contents('/var/www/settings.json');
I can't seem to be able to access my json file from the home directory... Any idea? Thanks
Aucun commentaire:
Enregistrer un commentaire