This commit is contained in:
2024-06-26 11:10:17 +03:00
parent 987effd67f
commit 2714dad7ce
7 changed files with 78 additions and 142 deletions

View File

@ -5,12 +5,11 @@ namespace src;
use src\debug\Debug;
use src\file_db_driver\FileDatabaseDriver;
use src\Information;
use src\Forms;
require_once "vendor/autoload.php";
$fileName = "Information.txt";
$fileModeOpen = "a";
//$fileName = "Information.txt";
//$fileModeOpen = "a";
$fullInformation = new Information();
$fullInformation->load($_REQUEST);
@ -19,6 +18,7 @@ $string = $fullInformation->toString();
$obj = new FileDatabaseDriver();
$obj->connect(__DIR__ . "/Information.txt");
//$obj->updateServiceInfo($string);
$obj->save($string);
$obj->close();