mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-10-13 16:34:23 -05:00
ZyEl cubemain too big, parse using .import
This commit is contained in:
@@ -63,7 +63,8 @@ class D2TxtParser {
|
||||
}
|
||||
|
||||
public function processCubeMain($file){
|
||||
exec("sqlite3 ".DB_FILE." '.separator \"t\"' '.import ".TXT_PATH."$file cubemain'");
|
||||
$path = dirname(getcwd()).DIRECTORY_SEPARATOR."bin".DIRECTORY_SEPARATOR;
|
||||
exec($path."sqlite3.exe ".$path.DB_FILE." '.separator \"t\"' '.import ".TXT_PATH."$file cubemain'");
|
||||
}
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user