From 7080212c46b1013d09f8f29e639ca175f64d49d2 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 29 Aug 2016 19:18:32 +0800 Subject: [PATCH] bug fixes round 1 --- .htaccess | 4 ++++ apps/user_ldap/appinfo/app.php | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/.htaccess b/.htaccess index 5b864643565b8..66f9782ad929e 100644 --- a/.htaccess +++ b/.htaccess @@ -72,3 +72,7 @@ Options -Indexes ModPagespeed Off +#### DO NOT CHANGE ANYTHING ABOVE THIS LINE #### + +ErrorDocument 403 /server/core/templates/403.php +ErrorDocument 404 /server/core/templates/404.php diff --git a/apps/user_ldap/appinfo/app.php b/apps/user_ldap/appinfo/app.php index 28df9b779fc91..c0d4ee31754fb 100644 --- a/apps/user_ldap/appinfo/app.php +++ b/apps/user_ldap/appinfo/app.php @@ -36,6 +36,12 @@ return new \OCA\User_LDAP\Notification\Notifier( \OC::$server->getL10NFactory() ); +}, function() { + $l = \OC::$server->getL10N('user_ldap'); + return [ + 'id' => 'user_ldap', + 'name' => $l->t('LDAP user and group backend'), + ]; }); if(count($configPrefixes) === 1) { $dbc = \OC::$server->getDatabaseConnection();