Add compatibility goo for HEAD for pfSenseHeader

This commit is contained in:
Scott Ullrich 2006-08-18 19:29:09 +00:00
parent 2a970acb9d
commit a024886463

View File

@ -33,13 +33,20 @@
*
*/
/* compatibility goo with HEAD */
/* BEGIN compatibility goo with HEAD */
if(!function_exists("gettext")) {
function gettext($text) {
return $text;
}
}
if(!function_exists("pfSenseHeader")) {
function pfSenseHeader($location) {
header("Location: $location");
}
}
/* END compatibility goo with HEAD */
function get_tmp_file() {
return "/tmp/tmp-" . time();
}