Add dummy stubs for some code that was MFC'd

This commit is contained in:
Scott Ullrich 2006-06-07 19:22:18 +00:00
parent fbd14b1382
commit 14db714e02

View File

@ -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;