mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-09-18 01:22:08 +00:00
Refactored into classes, now just need to display data, and later create editing form
This commit is contained in:
28
test.php
Normal file
28
test.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
error_reporting(E_ERROR | E_PARSE);
|
||||
set_time_limit(-1);
|
||||
ini_set('max_input_time', '-1');
|
||||
ini_set('max_execution_time', '0');
|
||||
session_start();
|
||||
ob_start();
|
||||
|
||||
require_once './config.php';
|
||||
require_once './_pdo.php';
|
||||
require_once "./src/D2Functions.php";
|
||||
require_once './src/D2ItemData.php';
|
||||
require_once './src/D2ItemDesc.php';
|
||||
require_once './src/D2DocGenerator.php';
|
||||
|
||||
define('DB_FILE', "ironman-dev.db");
|
||||
PDO_Connect("sqlite:" . DB_FILE);
|
||||
|
||||
$fp = fopen("x", "rb+");
|
||||
|
||||
|
||||
fseek($fp, 0);
|
||||
$y = fread($fp, 1);
|
||||
|
||||
fseek($fp, 4);
|
||||
fwrite($fp, "__");
|
||||
fclose($fp);
|
Reference in New Issue
Block a user