Skip to content
Snippets Groups Projects
Commit 8f53ea23 authored by Eric Laufer's avatar Eric Laufer
Browse files

Bugmeldung

Issue #8
parent 431e18c0
No related merge requests found
# Was alles passiert # Was alles passiert
## [0.0.5.1]
## geändert
- run.inc.php
- datenbank.inc.php
## BUGMELDUNG
Nr.: 8
## [0.0.5] ## [0.0.5]
## hinzugefügt ## hinzugefügt
- AGB,Impressum,FAQ können aus dem Admin heraus berarbeitet werden - AGB,Impressum,FAQ können aus dem Admin heraus berarbeitet werden
......
...@@ -208,10 +208,7 @@ if(isset($_POST['impressum_anlegen'])){ ...@@ -208,10 +208,7 @@ if(isset($_POST['impressum_anlegen'])){
$impressum = file_get_contents("impressum.txt"); $impressum = file_get_contents("impressum.txt");
$inhalt = $anschrift.$impressum; $inhalt = $anschrift.$impressum;
$datei = fopen("../lib/texte/impressum.txt","w"); db_query("INSERT INTO ".$db_prefix."_texte (name,text) VALUES ('impressum','". $inhalt ."') ");
fwrite($datei, $inhalt,100000);
fclose($datei);
chmod('../lib/texte/impressum.txt' , 0755);
} }
if($_GET['step'] == 1 OR empty($_GET['step'])){ if($_GET['step'] == 1 OR empty($_GET['step'])){
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment