Browse code

install/install.php: cleanup due to the script's recent changes

Clarissa Walker authored on 2026/09/10 15:01:00
Showing 1 changed files
... ...
@@ -65,7 +65,7 @@ if (ini_get("magic_quotes_gpc"))
65 65
 }
66 66
 
67 67
 define("_BASEDIR", "../");
68
-define("_CHARSET", "utf-8");
68
+
69 69
 Header('Cache-Control: private, no-cache, must-revalidate, max_age=0, post-check=0, pre-check=0');
70 70
 header("Pragma: no-cache");
71 71
 header("Expires: 0");
... ...
@@ -1082,7 +1082,7 @@ if(!empty(\$sitekey)) \$dbconnect = dbconnect(\$dbhost, \$dbuser,\$dbpass, \$dbn
1082 1082
 				$directory = opendir("../languages");
1083 1083
 				while ($filename = readdir($directory))
1084 1084
 				{
1085
-					if ($filename == "." || $filename == ".." || substr($filename, 2) == "_admin.php") continue;
1085
+					if ($filename == "." || $filename == ".." || $filename == "mailer" || substr($filename, 2) == "_admin.php") continue;
1086 1086
 					$output .= "<option value=\"" . substr($filename, 0, 2) . "\"" .
1087 1087
 						($language == substr($filename, 0, strpos($filename, ".php")) ? " selected" : "") . ">
1088 1088
 					" . substr($filename, 0, strpos($filename, ".php")) . "</option>";