|
...
|
...
|
@@ -67,7 +67,7 @@ include ("../includes/class.TemplatePower.inc.php");
|
|
67
|
67
|
/* PHP 8 fix - other way is separated LANs to smaller files */
|
|
68
|
68
|
$allowed_tags = '';
|
|
69
|
69
|
$recentdays = 7;
|
|
70
|
|
-$sitename = "";
|
|
|
70
|
+$sitename = ""; // this breaks stuff in PHP 8.2
|
|
71
|
71
|
$url = "" ;
|
|
72
|
72
|
$multiplecats = '';
|
|
73
|
73
|
$minwords = '';
|
|
...
|
...
|
@@ -968,7 +968,7 @@ if(!empty(\$sitekey)) \$dbconnect = dbconnect(\$dbhost, \$dbuser,\$dbpass, \$dbn
|
|
968
|
968
|
else {
|
|
969
|
969
|
if(file_exists("../config.php") && !isset($mysql_access)) include("../config.php");
|
|
970
|
970
|
if(isset($tinyMCE)) $output .= write_message(_CONFIG2DETECTED);
|
|
971
|
|
- else if(isset($sitename)) $output .= write_message(_CONFIG1DETECTED);
|
|
|
971
|
+ else if(isset($sitename) && $sitename) $output .= write_message(_CONFIG1DETECTED);
|
|
972
|
972
|
else {
|
|
973
|
973
|
$output .=
|
|
974
|
974
|
"<form method='POST' enctype='multipart/form-data' action='install.php?step=1' class='tblborder' style='width: 350px; margin: 1em auto;'>
|