mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-10-13 08:24:24 -05:00
sqlite3.exe import cubemain working
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<?php
|
||||
session_start();
|
||||
/*
|
||||
GPLv2 (C) <2021> <HashCasper>
|
||||
|
||||
@@ -25,11 +24,12 @@ class D2Files {
|
||||
|
||||
public function __construct() {
|
||||
$filesToIgnore = [
|
||||
"AiParms.txt"
|
||||
"aiparms.txt",
|
||||
"cubemain.txt"
|
||||
];
|
||||
$glob = glob($_SESSION['path'].'*.txt');
|
||||
foreach ($glob as $g){
|
||||
$files[] = basename($g);
|
||||
$files[] = strtolower(basename($g));
|
||||
}
|
||||
$this->files = array_diff($files, $filesToIgnore);
|
||||
return $this->files;
|
||||
|
Reference in New Issue
Block a user