<?php /**********************/ /* Your credits go here */ /**********************/ if(!eregi("modules.php", $_SERVER['PHP_SELF'])){ die("You can't access this file directly..."); } $module_name = basename(dirname(__FILE__)); $module_dir = "modules/$module_name/"; |
if(!eregi("modules.php", $_SERVER['PHP_SELF'])){ die("You can't access this file directly..."); } |