mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add dummy stubs for some code that was MFC'd
This commit is contained in:
parent
fbd14b1382
commit
14db714e02
@ -30,6 +30,10 @@
|
||||
require_once("guiconfig.inc");
|
||||
require_once("pkg-utils.inc");
|
||||
|
||||
/* dummy stubs needed by some code that was MFC'd */
|
||||
function gettext($text) { return $text; }
|
||||
function pfSenseHeader($location) { header("Location: $location"); }
|
||||
|
||||
function gentitle_pkg($pgname) {
|
||||
global $pfSense_config;
|
||||
return $pfSense_config['system']['hostname'] . "." . $pfSense_config['system']['domain'] . " - " . $pgname;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user