EFW Support
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Friday 01 November 2024, 03:24:45 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
The Latest Endian Firewall is now available for download
HERE
14248
Posts in
4376
Topics by
6515
Members
Latest Member:
hulteends
Search:
Advanced search
EFW Support
Support
General Support
How to apply patch?
0 Members and 0 Guests are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: How to apply patch? (Read 6252 times)
vondie
Full Member
Offline
Posts: 22
How to apply patch?
«
on:
Saturday 09 October 2010, 12:05:13 am »
How to apply the following patch?
----------------------------------------------------------------------
Index: ids.cgi
===================================================================
--- ids.cgi (revision 23991)
+++ ids.cgi (working copy)
@@ -245,14 +245,14 @@
if (-e $conffile) {
readhash($conffile, \%timeconf);
}
- if ($conf->{'TIMEZONE'} =~ /^$/) {
+ if ($timeconf{'TIMEZONE'} =~ /^$/) {
my %mainhash = ();
my $mainconf = \%mainhash;
readhash($mainsettings, $mainconf);
- $conf->{'TIMEZONE'} = $mainconf->{'TIMEZONE'};
- $conf->{'TIMEZONE'} =~ s+/usr/share/zoneinfo/(posix/)?++;
+ $timeconf{'TIMEZONE'} = $mainconf->{'TIMEZONE'};
+ $timeconf{'TIMEZONE'} =~ s+/usr/share/zoneinfo/(posix/)?++;
}
- my $tz = DateTime::TimeZone->new( name => $conf->{'TIMEZONE'} );
+ my $tz = DateTime::TimeZone->new( name => $timeconf{'TIMEZONE'} );
$dt->set_time_zone($tz);
return $dt->strftime("%d.%m.%Y, %H:%M:%S");
}
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Project News
=> Latest News and Updates
-----------------------------
Support
-----------------------------
=> General Support
=> Installation Support
=> EFW SMTP, HTTP, SIP, FTP Proxy Support
=> VPN Support
=> Hardware Support
-----------------------------
Development
-----------------------------
=> EFW Wishlist
=> Contribute Your Customisations & Modifications
Page created in 0.031 seconds with 19 queries.
Powered by SMF 1.1 RC2
|
SMF © 2001-2005, Lewis Media
Design by
7dana.com