change ticket code to if18foobar

Signed-off-by: Matthias Fritzsche <txt.file@txtfile.eu>
This commit is contained in:
Vieno Hakkerinen 2018-08-11 16:52:11 +02:00
parent b6e31620df
commit 647fd9dd64
No known key found for this signature in database
GPG Key ID: 39BF82F5590865E8
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ Array("name"=>"kontakt","url"=>"/kontakt","title"=>"Kontakt")
<?php
foreach($pages as $p){
if($pageId==$p["name"]){
$c="if15".substr(base_convert(md5("if15".rand()), 16, 36), 0, 9);
$c="if15".substr(base_convert(md5("if18".rand()), 16, 36), 0, 9);
echo str_replace("#code#",$c,file_get_contents("text/".$p["name"].".html"));
}
}