aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acm/acm_xcache.php
diff options
context:
space:
mode:
authorRichard Foote <dicky@phpbb.com>2012-01-17 12:31:27 -0500
committerRichard Foote <dicky@phpbb.com>2012-01-21 15:17:31 -0500
commit2cf586a37206df3528237a2c91e255539c95a513 (patch)
tree5e974d81cd734010f1d19a861b181a8e6152bba5 /phpBB/includes/acm/acm_xcache.php
parentd7aa3aab5e40747e71d091d8033207f4363fb59c (diff)
downloadforums-2cf586a37206df3528237a2c91e255539c95a513.tar
forums-2cf586a37206df# -*- Mode: perl; indent-tabs-mode: nil -*- # # The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the [ticket/10580] Remove checking of server timezone and DST when registering
Remove checking of server timezone and DST. It causes a problem by selecting the wrong timezone when registering when the board_timezone is 1 hour less than the server timezone. PHPBB3-10580
Diffstat (limited to 'phpBB/includes/acm/acm_xcache.php')
0 files changed, 0 insertions, 0 deletions
tent filehandles if (-e \*Test::More::TESTOUT) { $fh = \*Test::More::TESTOUT; } elsif (-e \*Test::Builder::TESTOUT) { $fh = \*Test::Builder::TESTOUT; } else { $fh = \*STDOUT; } } my @testitems = @Support::Files::testitems; # at last, here we actually run the test... my $evilwordsregexp = join('|', @evilwords); foreach my $file (@testitems) { $file =~ s/\s.*$//; # nuke everything after the first space (#comment) next if (!$file); # skip null entries if (open (FILE, $file)) { # open the file for reading my $found_word = ''; while (my $file_line = <FILE>) { # and go through the file line by line if ($file_line =~ /($evilwordsregexp)/i) { # found an evil word $found_word = $1; last; } } close (FILE); if ($found_word) { ok(0,"$file: found SPELLING ERROR $found_word --WARNING"); } else { ok(1,"$file does not contain registered spelling errors"); } } else { ok(0,"could not open $file for spellcheck --WARNING"); } } exit 0;