Performanceproblem beim Infoterminal behoben; Unnötige Datenbankzugriffe in Klasse Studiengang minimiert;

This commit is contained in:
Andreas Österreicher
2014-04-25 15:26:26 +00:00
parent db0063ef90
commit 8a87e28aff
14 changed files with 289 additions and 278 deletions
-25
View File
@@ -38,31 +38,6 @@ require_once('../include/vorlage.class.php');
$user = get_uid();
$db = new basis_db();
function clean_string($string)
{
$trans = array("ä" => "ae",
"Ä" => "Ae",
"ö" => "oe",
"Ö" => "Oe",
"ü" => "ue",
"Ü" => "Ue",
"á" => "a",
"à" => "a",
"é" => "e",
"è" => "e",
"ó" => "o",
"ò" => "o",
"í" => "i",
"ì" => "i",
"ù" => "u",
"ú" => "u",
"ß" => "ss");
$string = strtr($string, $trans);
return mb_ereg_replace("[^a-zA-Z0-9]", "", $string);
//[:space:]
}
//Parameter holen
if(isset($_GET['xml']))
$xml=$_GET['xml'];