Diff of /branches/2.5.4RC1/cgi-bin/yabb2/Setup.pl [r1401] .. [r1402] Maximize Restore

  Switch to side-by-side view

--- a/branches/2.5.4RC1/cgi-bin/yabb2/Setup.pl
+++ b/branches/2.5.4RC1/cgi-bin/yabb2/Setup.pl
@@ -23,7 +23,7 @@
 use English qw(-no_match_vars);
 our $VERSION = '2.5.41';
 
-$setupplver = 'YaBB 2.5.4 RC1 $Revision: 1399 $';
+$setupplver = 'YaBB 2.5.4 RC1 $Revision: 1402 $';
 $yycharset  = 'UTF-8';
 
 # conversion will stop after $max_process_time
@@ -2471,7 +2471,7 @@
         if (
             !$yycopyin
             && (   $curline =~ m{<yabb copyright>}sm
-                || $curline =~ /{yabb copyright}/sm )
+                || $curline =~ m/{yabb copyright}/sm )
           )
         {
             $yycopyin = 1;
@@ -2534,7 +2534,7 @@
     }
     if ( $yycopyin == 0 ) {
         $output =
-q~<h1 style="text-align:center"><b>Sorry, the copyright tag {yabb copyright} must be in the template.<br />Please notify this forum&#39;s administrator that this site is using an ILLEGAL copy of YaBB!</b></h1>~;
+q~<h1 style="text-align:center"><b>Sorry, the copyright tag &#123;yabb copyright&#125; must be in the template.<br />Please notify this forum&#39;s administrator that this site is using an ILLEGAL copy of YaBB!</b></h1>~;
     }
     if ( fileno GZIP ) {
         $OUTPUT_AUTOFLUSH = 1;