Guest User

Untitled

a guest
Oct 17th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. // Prevent direct file access to functions.php
  2.  
  3. if (!empty($_SERVER['SCRIPT_FILENAME']) && 'functions.php' == basename($_SERVER['SCRIPT_FILENAME']))
  4. {
  5. die ('No access!');
  6. }
Add Comment
Please, Sign In to add comment