WordPress and buddypress programming

prevent users to access the functions.php

Viewing 0 reply threads
  • Author
    Posts
    • #8852
      Michael Mc
      Keymaster
      @mkmcst
      if (!empty($_SERVER['SCRIPT_FILENAME']) && 'functions.php' == basename($_SERVER['SCRIPT_FILENAME']))
      {
      die ('No access!');
      }
Viewing 0 reply threads
  • You must be logged in to reply to this topic.