]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - html/cgi-bin/netexternal.cgi
Hardcode theme to ipfire
[ipfire-2.x.git] / html / cgi-bin / netexternal.cgi
index 731fa3f44b0a221231c193eb88d7c1899a05d618..a31502dd0cd1dc0923f37129471a55edc1aebc90 100644 (file)
@@ -31,18 +31,14 @@ use IO::Socket;
 require '/var/ipfire/general-functions.pl';
 require "${General::swroot}/lang.pl";
 require "${General::swroot}/header.pl";
-require "${General::swroot}/geoip-functions.pl";
 require "${General::swroot}/graphs.pl";
 
-# Libloc database handle.
-my $libloc_db_handle = &GeoIP::init();
-
 my %color = ();
 my %mainsettings = ();
 my %netsettings=();
 &General::readhash("${General::swroot}/ethernet/settings", \%netsettings);
 &General::readhash("${General::swroot}/main/settings", \%mainsettings);
-&General::readhash("/srv/web/ipfire/html/themes/".$mainsettings{'THEME'}."/include/colors.txt", \%color);
+&General::readhash("/srv/web/ipfire/html/themes/ipfire/include/colors.txt", \%color);
 
 my @graphs=();
 my %dhcpinfo=();