04-24-2008, 01:53 PM
|
#4 (permalink)
|
|
Wizard
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
|
At the beginning of every file, put something like
PHP Code:
define('IN_SCRIPT',true);
And at the beginning of every source file that you dont want directly accessed.
PHP Code:
if(!IN_SCRIPT){die("No Direct Access");}
|
|
|
|