diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-07 10:44:28 +0100 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-07 10:44:28 +0100 |
commit | 5788d36c8d1e9869d8a645293805e3b0265ea238 (patch) | |
tree | 80045c0eb1687652f956b3bdaccb1c765893d2e1 /lib/util.php | |
parent | 84f3c8b6cc1060203d807ee65545478ce34f93c4 (diff) | |
parent | 35bd7a400d30fb27703d4fa02b107f9629845b7d (diff) | |
download | nextcloud-server-5788d36c8d1e9869d8a645293805e3b0265ea238.tar.gz nextcloud-server-5788d36c8d1e9869d8a645293805e3b0265ea238.zip |
Merge branch 'master' into fixing-1354-master
Conflicts:
settings/admin.php
settings/templates/admin.php
Diffstat (limited to 'lib/util.php')
-rwxr-xr-x | lib/util.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php index ae0900d7e84..5f796e7565f 100755 --- a/lib/util.php +++ b/lib/util.php @@ -300,6 +300,8 @@ class OC_Util { $redirect_url = OC_Util::sanitizeHTML($_REQUEST['redirect_url']); $parameters['redirect_url'] = urlencode($redirect_url); } + + $parameters['alt_login'] = OC_App::getAlternativeLogIns(); OC_Template::printGuestPage("", "login", $parameters); } @@ -563,6 +565,14 @@ class OC_Util { } /** + * Check if the PHP module fileinfo is loaded. + * @return bool + */ + public static function fileInfoLoaded() { + return function_exists('finfo_open'); + } + + /** * Check if the ownCloud server can connect to the internet */ public static function isinternetconnectionworking() { |