ver.0.4
This commit is contained in:
6
info.php
6
info.php
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user