summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 46c675b)
raw | patch | inline | side by side (parent: 46c675b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Nov 2010 09:16:13 +0000 (09:16 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Nov 2010 09:16:13 +0000 (09:16 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20258 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/ssh/personal/ssh/class_sshPublicKey.inc | patch | blob | history |
diff --git a/gosa-plugins/ssh/personal/ssh/class_sshPublicKey.inc b/gosa-plugins/ssh/personal/ssh/class_sshPublicKey.inc
index e478d329ba771dee39127431fa15bcc8da445703..c451aa44a8032f17868d93ed8ced6412b4258ee2 100644 (file)
msg_dialog::display(_("Upload error"), _("Error uploading the key!")." (".$_FILES['key']['error'].")", ERROR_DIALOG);
} else {
- $lines= file($_FILES['key']['tmp_name']);
+ $lines= gosa_file($_FILES['key']['tmp_name']);
foreach ($lines as $line) {
if (preg_match('/^(ssh-(dss|rsa))\s+([a-zA-Z0-9+\/.=]+)\s+([[:print:]]+)$/', $line, $match)) {
$fingerprint= $this->fingerprint(base64_decode($match[3]));