Welcome Guest, Not a member yet? Register   Sign In
Deny direct access to the file.
#1

Hello everyone !

As can be to deny direct access on exiled to files in the directory "assets",

in General need do so, to under appeal say to example.com/assets/Favicon.png the user saw page 403 or any other,
but at the same time that this picture was available for inserting it in
PHP Code:
<head>
     <link .... rel="icon" src="<?= base_url('assets/Favicon.png'); ?>" >
</
head

and it was displayed on the site tab.
I would change this world, but God doesn't give me the source.
Reply


Messages In This Thread
Deny direct access to the file. - by Digital_Wolf - 11-27-2019, 09:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB