Use new module

This commit is contained in:
Jamie Cameron
2009-03-01 22:52:34 +00:00
parent cb22b112bf
commit dd809f14a4
3 changed files with 6 additions and 3 deletions

View File

@@ -3,7 +3,8 @@
# Webmin index page for Caldera's theme. Contains two frames, with the
# categories and modules always at the top and the CGIs at the bottom
require './web-lib.pl';
BEGIN { push(@INC, ".."); };
use WebminCore;
&init_config();
$hostname = &get_display_hostname();
$ver = &get_webmin_version();

View File

@@ -2,7 +2,8 @@
# index_body.cgi
# Display an empty page
require './web-lib.pl';
BEGIN { push(@INC, ".."); };
use WebminCore;
&init_config();
&header();

View File

@@ -2,7 +2,8 @@
# index_top.cgi
# Display the top frame using the Caldera icons and style
require './web-lib.pl';
BEGIN { push(@INC, ".."); };
use WebminCore;
&init_config();
$hostname = &get_display_hostname();
$ver = &get_webmin_version();