Added check for module public file in main index.php.