I have many pages my problem stands that I need to open all my php files and add a line of code at the top of each php page.
<?php
if(!defined('no_d_a')){die('What The ... how did you get here :) ');} /* no direct access */
// rest of existing code here //
?>
Question is can I instead do this on a .htaccess file because I am feeling abit lazy :)
TIA