mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-09-18 01:22:08 +00:00
DC6 to PNG item conversion. Read in order from docpath,d2modder img path
This commit is contained in:
@@ -57,7 +57,7 @@ if (!empty($_POST)) {
|
||||
$path = rtrim($_POST['path'], "\\");
|
||||
$path = str_replace("\\", "\\\\", $path);
|
||||
$modpath = $path;
|
||||
$savePath = $path . '\\\\save\\\\';
|
||||
$savePath = $path . '\\\\save\\\\';
|
||||
$tbl = $path.'\\\\data\\\\local\\\\lng\\\\eng\\\\';
|
||||
|
||||
$path .= '\\\\data\\\\global\\\\excel\\\\';
|
||||
@@ -87,7 +87,9 @@ ERROR: INVALID PATH</h1></center>';
|
||||
// set this mod to active mod in session
|
||||
$_SESSION['path'] = $path;
|
||||
$_SESSION['tbl'] = $tbl;
|
||||
$_SESSION['savepath'] = $savePath;
|
||||
$_SESSION['savepath'] = $savePath;
|
||||
$_SESSION['docpath'] = 'docs/'.$_SESSION['modname'];
|
||||
$_SESSION['modpath'] = $modpath;
|
||||
// Don't yell at me, security is the least of my considerations atm
|
||||
// check modname in db
|
||||
$sql = "SELECT * FROM D2Modder WHERE modname=?";
|
||||
|
Reference in New Issue
Block a user