|
|
|
@ -414,10 +414,10 @@ class OC_Util { |
|
|
|
|
$encryptedFiles = true; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return $encryptedFiles; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @brief Check for correct file permissions of data directory |
|
|
|
|
* @paran string $dataDirectory |
|
|
|
@ -467,6 +467,7 @@ class OC_Util { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$parameters['alt_login'] = OC_App::getAlternativeLogIns(); |
|
|
|
|
$parameters['encryption_enabled'] = OC_App::isEnabled('files_encryption'); |
|
|
|
|
OC_Template::printGuestPage("", "login", $parameters); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -654,16 +655,16 @@ class OC_Util { |
|
|
|
|
} |
|
|
|
|
return $value; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @brief Public function to encode url parameters |
|
|
|
|
* |
|
|
|
|
* This function is used to encode path to file before output. |
|
|
|
|
* Encoding is done according to RFC 3986 with one exception: |
|
|
|
|
* Character '/' is preserved as is. |
|
|
|
|
* Character '/' is preserved as is. |
|
|
|
|
* |
|
|
|
|
* @param string $component part of URI to encode |
|
|
|
|
* @return string |
|
|
|
|
* @return string |
|
|
|
|
*/ |
|
|
|
|
public static function encodePath($component) { |
|
|
|
|
$encoded = rawurlencode($component); |
|
|
|
@ -810,7 +811,7 @@ class OC_Util { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @brief Check if the connection to the internet is disabled on purpose |
|
|
|
|
* @return bool |
|
|
|
|