whitespace indentation fix

This commit is contained in:
Florian Hülsmann 2012-03-28 16:12:34 +02:00
parent bcda46eda3
commit 34a0128ddf
1 changed files with 26 additions and 26 deletions

View File

@ -5,32 +5,32 @@ $appsDir = dirname($thisAppDir);
$ownCloudDir = dirname($appsDir); $ownCloudDir = dirname($appsDir);
$docRoot = $_SERVER['DOCUMENT_ROOT']; $docRoot = $_SERVER['DOCUMENT_ROOT'];
if(file_exists($docRoot . '/.well-known/host-meta')) { if(file_exists($docRoot . '/.well-known/host-meta')) {
OC_Log::write( OC_Log::write(
'user_webfinger', 'user_webfinger',
$docRoot . "/.well-known already exists; installation aborted", $docRoot . "/.well-known already exists; installation aborted",
OC_Log::ERROR OC_Log::ERROR
); );
} else { } else {
if(@symlink($thisAppDir, $docRoot . '/.well-known')) { if(@symlink($thisAppDir, $docRoot . '/.well-known')) {
OC_Log::write( OC_Log::write(
'user_webfinger', 'user_webfinger',
"Webfinger symlink created at " . $docRoot . "/.well-known", "Webfinger symlink created at " . $docRoot . "/.well-known",
OC_Log::INFO OC_Log::INFO
); );
} else { } else {
if(@symlink($thisAppDir, $ownCloudDir . '/.well-known')) { if(@symlink($thisAppDir, $ownCloudDir . '/.well-known')) {
OC_Log::write( OC_Log::write(
'user_webfinger', 'user_webfinger',
"Couldn't create webfinger symlink in document root, linked to " . $ownCloudDir . "/.well-known instead", "Couldn't create webfinger symlink in document root, linked to " . $ownCloudDir . "/.well-known instead",
OC_Log::WARN OC_Log::WARN
); );
} else { } else {
OC_Log::write( OC_Log::write(
'user_webfinger', 'user_webfinger',
"Couldn't create webfinger symlink, either check write permissions or create the link manually!", "Couldn't create webfinger symlink, either check write permissions or create the link manually!",
OC_Log::ERROR OC_Log::ERROR
); );
} }
} }
} }
?> ?>