rsharrer
9/26/2013 - 1:55 PM

Prevent direct file access to functions.php

Prevent direct file access to functions.php

if (!empty($_SERVER['SCRIPT_FILENAME']) && 'functions.php' == basename($_SERVER['SCRIPT_FILENAME']))
{
die ('No access!');
}