Return to Snippet

Revision: 51339
at September 21, 2011 14:08 by grgcnnr


Initial Code
if(count(get_included_files()) ==1) exit("Direct access not permitted.");

Initial URL


Initial Description


Initial Title
Simple way to check that an include isn't being directly called

Initial Tags


Initial Language
PHP