From 7d826ec88ab0de52d43b68467e061a71edbc8943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Rene=CC=81e=20Beach?= Date: Thu, 2 Jan 2014 12:24:00 -0500 Subject: [PATCH] Issue #2165939 by jessebeach: CKEditor library requirements checking is too strict; libraries can be located in profiles and individual site dirs as well MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: J. Renée Beach --- edit.install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/edit.install b/edit.install index 5d1d2fa..adf53ce 100644 --- a/edit.install +++ b/edit.install @@ -78,8 +78,8 @@ function edit_requirements($phase) { $requirements['edit_libraries_ckeditor']['severity'] = REQUIREMENT_ERROR; } - if (strpos(libraries_get_path('ckeditor'), 'sites/all/libraries') === FALSE) { - $requirements['edit_libraries_ckeditor']['value'] = t('The CKEditor library is installed in the wrong location, it should be installed in sites/all/libraries/ckeditor, not in the CKEditor module directory!'); + if (!libraries_get_path('ckeditor')) { + $requirements['edit_libraries_ckeditor']['value'] = t('Install the CKEditor library in a standard location. (!doc)', array('!doc' => l(t('Documentation'), 'https://drupal.org/node/1440066', array('external' => TRUE)))); $requirements['edit_libraries_ckeditor']['severity'] = REQUIREMENT_ERROR; } -- 1.8.2