Made php file a public resource