mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2024-11-30 12:36:03 +00:00
Windows path fix. Todo: fix mod switching
This commit is contained in:
parent
f008b24b1f
commit
ad0ed9be30
@ -42,7 +42,7 @@
|
||||
|
||||
*/
|
||||
session_start();
|
||||
|
||||
error_reporting(E_ALL ^ E_WARNING);
|
||||
include "../_pdo.php";
|
||||
require_once "../src/D2Functions.php";
|
||||
require_once "../src/D2ItemDesc.php";
|
||||
|
@ -43,9 +43,9 @@ session_start();
|
||||
|
||||
*/
|
||||
|
||||
ini_set('display_errors', 1);
|
||||
error_reporting(1);
|
||||
ini_set('log_errors', 1);
|
||||
ini_set('display_errors', 0);
|
||||
error_reporting(E_ALL ^ E_WARNING);
|
||||
ini_set('log_errors', 0);
|
||||
|
||||
include "./_pdo.php";
|
||||
|
||||
|
@ -56,7 +56,7 @@ if (!empty($_POST)) {
|
||||
$path = rtrim($_POST['path'], "\\");
|
||||
$path = str_replace("\\", "\\\\", $path);
|
||||
|
||||
$tbl = '\\\\data\\\\local\\\\lng\\\\eng\\\\';
|
||||
$tbl = $path.'\\\\data\\\\local\\\\lng\\\\eng\\\\';
|
||||
|
||||
$path .= '\\\\data\\\\global\\\\excel\\\\';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user