Browse code

Initial uplad w/ php7 fixes

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