diff --git a/CHANGELOG b/CHANGELOG
index 60b364663b9279e6662ed7264ce80bc43d5f06a2..1a0e0cc24958692dd2000f66a1ff3215a95b5b2e 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 539aeefdd6d298861ba5c7961f850f11e81776a7..310e0e4c50a83beb71237dbe66258f0929345681 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'])){