summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6005084)
raw | patch | inline | side by side (parent: 6005084)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Nov 2010 09:15:11 +0000 (09:15 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Nov 2010 09:15:11 +0000 (09:15 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20242 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/addons/goto/class_goto_import_file.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/addons/goto/class_goto_import_file.inc b/gosa-plugins/goto/addons/goto/class_goto_import_file.inc
index e03c3d000cafc8b30700da2f6fde4cb887dc5b75..5b0795a4856ed219918793e50bf45aef9cde8b30 100644 (file)
*/
if(isset($_POST['import']) && isset($_FILES['file'])) {
if(isset($_FILES['file']['tmp_name'])){
- $str = file_get_contents($_FILES['file']['tmp_name']);
+ $filename = $_FILES['file']['tmp_name'];
+ $str = file_get_contents(gosa_file_name($filename));
$this->parse_csv($str);
}
}