diff options
author | Florian Hülsmann <fh@cbix.de> | 2012-03-28 18:12:34 +0400 |
---|---|---|
committer | Florian Hülsmann <fh@cbix.de> | 2012-03-28 18:12:34 +0400 |
commit | 672b072d9c8ab91d6825c9d3755891508c71532e (patch) | |
tree | eafa86b7f73898e5899f512e5968ed6cf08e04c9 /user_webfinger | |
parent | 98602782eb1d678dceb1f1779b903c88c29a9c63 (diff) |
whitespace indentation fix
Diffstat (limited to 'user_webfinger')
-rw-r--r-- | user_webfinger/appinfo/install.php | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/user_webfinger/appinfo/install.php b/user_webfinger/appinfo/install.php index 9ba953a4e..775141dce 100644 --- a/user_webfinger/appinfo/install.php +++ b/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 + ); + } + } } ?> |