mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-10-13 16:34:23 -05:00
multiple mod selection and config/db working
This commit is contained in:
13
includes.php
13
includes.php
@@ -1,13 +1,12 @@
|
||||
<?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']);
|
||||
session_start();
|
||||
|
||||
include "./_pdo.php";
|
||||
|
||||
define('FILTER_PROPERTIES_FILE', 'filterProperties.txt');
|
||||
define('DB_FILE', $_SESSION['modname'].".db");
|
||||
define('TXT_PATH', $_SESSION['path']);
|
||||
|
||||
require_once "./src/D2Functions.php";
|
||||
require_once "./src/D2Database.php";
|
||||
require_once './src/D2Files.php';
|
||||
|
Reference in New Issue
Block a user