mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-10-13 16:34:23 -05:00
Latest changes. Refactor. Multi row insertion. Querying working. DB creation of all txt files. Serialized config. TODO, configure multiple mod directory feature
This commit is contained in:
14
includes.php
Normal file
14
includes.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
define('FILTER_PROPERTIES_FILE', 'filterProperties.txt');
|
||||
|
||||
$config = unserialize(file_get_contents("d2im.conf"));
|
||||
|
||||
define('DB_FILE', $config['modname'].".db");
|
||||
define('TXT_PATH', $config['path']);
|
||||
|
||||
include "./_pdo.php";
|
||||
require_once "./src/D2Functions.php";
|
||||
require_once "./src/D2Database.php";
|
||||
require_once './src/D2Files.php';
|
||||
require_once './src/D2TxtParser.php';
|
Reference in New Issue
Block a user