mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-10-13 08:24:24 -05:00
Db generation working on linux/windows
This commit is contained in:
14
index.php
14
index.php
@@ -20,16 +20,13 @@
|
||||
along with D2UM. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
ini_set('display_errors', 0);
|
||||
error_reporting(0);
|
||||
ini_set('display_errors', 1);
|
||||
error_reporting(1);
|
||||
ini_set('log_errors', 1);
|
||||
|
||||
define('FILTER_PROPERTIES_FILE', 'filterProperties.txt');
|
||||
define('DB_FILE', 'db');
|
||||
|
||||
|
||||
include "./_pdo.php";
|
||||
|
||||
$filename = 'd2im.conf';
|
||||
|
||||
if (file_exists($filename)) {
|
||||
@@ -42,16 +39,9 @@ if (file_exists($filename)) {
|
||||
header('Location: /src/D2Config.php');
|
||||
}
|
||||
|
||||
// Misc functions
|
||||
require_once "./src/D2Functions.php";
|
||||
|
||||
// D2 Database
|
||||
require_once "./src/D2Database.php";
|
||||
|
||||
// D2 Files Loader
|
||||
require_once './src/D2Files.php';
|
||||
|
||||
// Txt Parser
|
||||
require_once './src/D2TxtParser.php';
|
||||
|
||||
// parse txt data
|
||||
|
Reference in New Issue
Block a user