summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 389b1a6)
raw | patch | inline | side by side (parent: 389b1a6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 Jan 2006 09:43:42 +0000 (09:43 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 Jan 2006 09:43:42 +0000 (09:43 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2550 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiScriptEntry.inc | patch | blob | history |
diff --git a/plugins/admin/fai/class_faiScriptEntry.inc b/plugins/admin/fai/class_faiScriptEntry.inc
index d25af193635eb4537b436f683e190b6d1eebf2a0..3d6ad9eb92e29304af1b11edffdebe10161bdd5d 100644 (file)
if(($_FILES['ImportFile']['size']==0)){
print_red(_("Selected file is empty."));
}else{
- $str = utf8_encode(file_get_contents($_FILES['ImportFile']['tmp_name']));
+ $str = utf8_encode(addslashes(file_get_contents($_FILES['ImportFile']['tmp_name'])));
$this->FAIscript = $str;
}
}
-
foreach($this->attributes as $attrs){
if(get_magic_quotes_gpc()){