From 8f53ea2358b239356e4696f862cd18d93cd3dbeb Mon Sep 17 00:00:00 2001 From: isaack <drericlaufer@gmx.de> Date: Sat, 18 Aug 2018 12:50:07 +0200 Subject: [PATCH] Bugmeldung Issue #8 --- CHANGELOG | 7 +++++++ install/index.php | 5 +---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 60b3646..1a0e0cc 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,12 @@ # Was alles passiert +## [0.0.5.1] +## geändert +- run.inc.php +- datenbank.inc.php + +## BUGMELDUNG +Nr.: 8 ## [0.0.5] ## hinzugefügt - AGB,Impressum,FAQ können aus dem Admin heraus berarbeitet werden diff --git a/install/index.php b/install/index.php index 539aeef..310e0e4 100644 --- a/install/index.php +++ b/install/index.php @@ -208,10 +208,7 @@ if(isset($_POST['impressum_anlegen'])){ $impressum = file_get_contents("impressum.txt"); $inhalt = $anschrift.$impressum; - $datei = fopen("../lib/texte/impressum.txt","w"); - fwrite($datei, $inhalt,100000); - fclose($datei); - chmod('../lib/texte/impressum.txt' , 0755); + db_query("INSERT INTO ".$db_prefix."_texte (name,text) VALUES ('impressum','". $inhalt ."') "); } if($_GET['step'] == 1 OR empty($_GET['step'])){ -- GitLab