summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: af3303a)
raw | patch | inline | side by side (parent: af3303a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Nov 2010 09:15:38 +0000 (09:15 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Nov 2010 09:15:38 +0000 (09:15 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20249 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiScriptEntry.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiScriptEntry.inc b/gosa-plugins/fai/admin/fai/class_faiScriptEntry.inc
index 9f42d330203e168db9b3520ae6990348b4f1f3a7..7747af7475c7d16eeabcdd5b439655195e5390f1 100644 (file)
if(($_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->FAIscript = $str;
// Check encoding again