diff options
author | Florian Hülsmann <fh@cbix.de> | 2012-03-28 16:12:34 +0200 |
---|---|---|
committer | Florian Hülsmann <fh@cbix.de> | 2012-03-28 16:12:34 +0200 |
commit | 34a0128ddf01a44302f89a1dfa14bb9565a8ae47 (patch) | |
tree | 89eb34fcfd188315c008996ef41d35a4b621e1b3 /apps/user_webfinger | |
parent | bcda46eda3b3b9208609bc5a9497632aa0dabfa9 (diff) | |
download | nextcloud-server-34a0128ddf01a44302f89a1dfa14bb9565a8ae47.tar.gz nextcloud-server-34a0128ddf01a44302f89a1dfa14bb9565a8ae47.zip |
whitespace indentation fix
Diffstat (limited to 'apps/user_webfinger')
-rw-r--r-- | apps/user_webfinger/appinfo/install.php | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/apps/user_webfinger/appinfo/install.php b/apps/user_webfinger/appinfo/install.php index 9ba953a4e60..775141dce41 100644 --- a/apps/user_webfinger/appinfo/install.php +++ b/apps/user_webfinger/appinfo/install.php @@ -5,32 +5,32 @@ $appsDir = dirname($thisAppDir); $ownCloudDir = dirname($appsDir); $docRoot = $_SERVER['DOCUMENT_ROOT']; if(file_exists($docRoot . '/.well-known/host-meta')) { - OC_Log::write( - 'user_webfinger', - $docRoot . "/.well-known already exists; installation aborted", - OC_Log::ERROR - ); + OC_Log::write( + 'user_webfinger', + $docRoot . "/.well-known already exists; installation aborted", + OC_Log::ERROR + ); } else { - if(@symlink($thisAppDir, $docRoot . '/.well-known')) { - OC_Log::write( - 'user_webfinger', - "Webfinger symlink created at " . $docRoot . "/.well-known", - OC_Log::INFO - ); - } else { - if(@symlink($thisAppDir, $ownCloudDir . '/.well-known')) { - OC_Log::write( - 'user_webfinger', - "Couldn't create webfinger symlink in document root, linked to " . $ownCloudDir . "/.well-known instead", - OC_Log::WARN - ); - } else { - OC_Log::write( - 'user_webfinger', - "Couldn't create webfinger symlink, either check write permissions or create the link manually!", - OC_Log::ERROR - ); - } - } + if(@symlink($thisAppDir, $docRoot . '/.well-known')) { + OC_Log::write( + 'user_webfinger', + "Webfinger symlink created at " . $docRoot . "/.well-known", + OC_Log::INFO + ); + } else { + if(@symlink($thisAppDir, $ownCloudDir . '/.well-known')) { + OC_Log::write( + 'user_webfinger', + "Couldn't create webfinger symlink in document root, linked to " . $ownCloudDir . "/.well-known instead", + OC_Log::WARN + ); + } else { + OC_Log::write( + 'user_webfinger', + "Couldn't create webfinger symlink, either check write permissions or create the link manually!", + OC_Log::ERROR + ); + } + } } ?> |