| ... | ... |
@@ -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 |
+ |
| ... | ... |
@@ -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 |
} |
| 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 |