summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c357434)
raw | patch | inline | side by side (parent: c357434)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Nov 2010 09:15:31 +0000 (09:15 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Nov 2010 09:15:31 +0000 (09:15 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20247 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/ConfigManagement/class_TemplateWidget_textEditor.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/ConfigManagement/class_TemplateWidget_textEditor.inc b/gosa-plugins/goto/admin/ConfigManagement/class_TemplateWidget_textEditor.inc
index 93b7951c1fff26f5ce50e7a9b58e2226005fd14b..4fc28545c1652e38f68dfc8d99d42382db89ef97 100644 (file)
}elseif(($_FILES['ImportFile']['size']==0)){
msg_dialog::display(_("Error"), msgPool::incorrectUpload(_("file is empty")), ERROR_DIALOG);
}else{
- $str = file_get_contents($_FILES['ImportFile']['tmp_name']);
+ $str = file_get_contents(gosa_file_name($_FILES['ImportFile']['tmp_name']));
$this->value = $str;
// Check encoding again