Browse code

Even more general cleanup - redundancy also removed from one file

Clarissa Walker authored on 2026/08/22 18:49:10
Showing 1 changed files
... ...
@@ -1,13 +1,10 @@
1 1
 <?php
2 2
 
3
-
4
-
5 3
 if(function_exists("mysqli_connect")) {
6
-
7 4
 	include_once(_BASEDIR."includes/mysqli_functions.php");
8 5
 	$dbconnect = @dbconnect($dbhost, $dbuser, $dbpass, $dbname);
9
-}else {
6
+} else {
10 7
 	include(_BASEDIR."languages/en.php"); // Because we haven't selected a language setting yet
11 8
 	die(_FATALERROR._NODBFUNCTIONALITY);
12 9
 }
13
- 
14 10
\ No newline at end of file
11
+ 
Browse code

3.5.8.1 warnings, dbconnect, install changes

Jimako authored on 2024/05/09 06:30:39
Showing 1 changed files
... ...
@@ -1,7 +1,12 @@
1 1
 <?php
2 2
 
3
-if(function_exists("mysqli_connect")) include_once(_BASEDIR."includes/mysqli_functions.php");
4
-else {
3
+
4
+
5
+if(function_exists("mysqli_connect")) {
6
+
7
+	include_once(_BASEDIR."includes/mysqli_functions.php");
8
+	$dbconnect = @dbconnect($dbhost, $dbuser, $dbpass, $dbname);
9
+}else {
5 10
 	include(_BASEDIR."languages/en.php"); // Because we haven't selected a language setting yet
6 11
 	die(_FATALERROR._NODBFUNCTIONALITY);
7 12
 }
Browse code

3.5.6 efiction version

Jimako authored on 2024/03/09 16:09:42
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,8 @@
1
+<?php
2
+
3
+if(function_exists("mysqli_connect")) include_once(_BASEDIR."includes/mysqli_functions.php");
4
+else {
5
+	include(_BASEDIR."languages/en.php"); // Because we haven't selected a language setting yet
6
+	die(_FATALERROR._NODBFUNCTIONALITY);
7
+}
8
+ 
0 9
\ No newline at end of file