summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e7bc981)
raw | patch | inline | side by side (parent: e7bc981)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Nov 2010 09:15:28 +0000 (09:15 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Nov 2010 09:15:28 +0000 (09:15 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20246 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/ConfigManagement/class_TemplateWidget_file.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/ConfigManagement/class_TemplateWidget_file.inc b/gosa-plugins/goto/admin/ConfigManagement/class_TemplateWidget_file.inc
index 4c26fe32e92abaddaf0fb8821152aa787c26987c..1e41cd9be48f2cb1d9f8bbf08a486f99c404d88a 100644 (file)
function save_object()
{
if(isset($_POST["{$this->postName}_Upload"]) && isset($_FILES[$this->postName]['tmp_name'])){
- $this->value = file_get_contents($_FILES[$this->postName]['tmp_name']);
+ $this->value = file_get_contents(gosa_file_name($_FILES[$this->postName]['tmp_name']));
}
if(isset($_POST["{$this->postName}_Remove"])) $this->value ="";
}