# Script to allow static content in phpnuke
# Instructions:
# Place static.php file in phpnuke root directory
# Put static html files in directory called static under phpnuke root directory
# Call the index page with
http://yourdomain.com/static.php?file=index.htm
#
# Requires: php version 4.3.0 or higher
#
# Author: John Richardson
# Download:
http://www.sunhelpdesk.com/modules.php?name=Downloads
# Update Log:
# v1.1 - fixed mailto hrefs
# v1.2 - Added file extension security - Thanks to Steve Michell
# v1.3 - Fixed bookmark href's, fixed src tag lookup