summaryrefslogtreecommitdiffstats
path: root/apps/files_external/ajax
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-02-19 19:12:14 -0500
committerMichael Gapczynski <mtgap@owncloud.com>2013-02-19 19:12:14 -0500
commit702c27b0e63cddb21f483c0a69e899e08b42ec07 (patch)
tree5235c4b45c2de00c9d5633e25ad5142388587f1f /apps/files_external/ajax
parent037c3ee4ecf6f3ffae0f1707074ac13b234dc1ec (diff)
parent38782036798dbe0a34995a3fca0aa92583cb9099 (diff)
downloadnextcloud-server-702c27b0e63cddb21f483c0a69e899e08b42ec07.tar.gz
nextcloud-server-702c27b0e63cddb21f483c0a69e899e08b42ec07.zip
Merge branch 'master' into external_storage_ui_feedback
Conflicts: apps/files_external/js/settings.js apps/files_external/lib/smb.php apps/files_external/templates/settings.php lib/files/storage/common.php
Diffstat (limited to 'apps/files_external/ajax')
-rw-r--r--apps/files_external/ajax/addRootCertificate.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/ajax/addRootCertificate.php b/apps/files_external/ajax/addRootCertificate.php
index ba8a14d2ea1..43fd6752c4a 100644
--- a/apps/files_external/ajax/addRootCertificate.php
+++ b/apps/files_external/ajax/addRootCertificate.php
@@ -14,7 +14,7 @@ fclose($fh);
$filename = $_FILES['rootcert_import']['name'];
$view = new \OC\Files\View('/'.\OCP\User::getUser().'/files_external/uploads');
-if (!$view->file_exists('')){
+if (!$view->file_exists('')) {
$view->mkdir('');
}
@@ -37,5 +37,5 @@ if ( $isValid ) {
OCP\Util::WARN);
}
-header('Location: settings/personal.php');
+header('Location:' . OCP\Util::linkToRoute( "settings_personal" ));
exit;