]> 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 156ef2418c604f429f66390e9ef136aa267e1eaa..a31502dd0cd1dc0923f37129471a55edc1aebc90 100644 (file)
 ###############################################################################
 
 use strict;
+use experimental 'smartmatch';
 
 # enable only the following on debugging purpose
 #use warnings;
 #use CGI::Carp 'fatalsToBrowser';
 
+use IO::Socket;
+
 require '/var/ipfire/general-functions.pl';
 require "${General::swroot}/lang.pl";
 require "${General::swroot}/header.pl";
@@ -35,7 +38,7 @@ 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=();
@@ -161,4 +164,4 @@ END
 
        &Header::closebigbox();
        &Header::closepage();
-}      
+}