mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add compatibility goo for HEAD for pfSenseHeader
This commit is contained in:
parent
2a970acb9d
commit
a024886463
@ -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();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user