From 9329d168b5bbce78b6573ef6b397369cbde3a047 Mon Sep 17 00:00:00 2001 From: Andrew Hunt Date: Wed, 29 Apr 2015 22:56:39 -0400 Subject: [PATCH] CRM-13823 better messages for directory checks ---------------------------------------- * CRM-13823: Admin Status Page https://issues.civicrm.org/jira/browse/CRM-13823 --- CRM/Utils/Check/Env.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CRM/Utils/Check/Env.php b/CRM/Utils/Check/Env.php index fb013a5cc9..538d631daf 100644 --- a/CRM/Utils/Check/Env.php +++ b/CRM/Utils/Check/Env.php @@ -342,7 +342,8 @@ class CRM_Utils_Check_Env { if (!is_dir($basedir)) { $messages[] = new CRM_Utils_Check_Message( 'checkExtensions', - ts('The path to your extensions directory is not a directory. Please check your file system.'), + ts('Your extensions directory path points to %1, which is not a directory. Please check your file system.', + array(1 => $basedir)), ts('Extensions directory incorrect'), \Psr\Log\LogLevel::ERROR ); @@ -351,7 +352,8 @@ class CRM_Utils_Check_Env { elseif (!is_writable($basedir)) { $messages[] = new CRM_Utils_Check_Message( 'checkExtensions', - ts('Your extensions directory is not writable. Please change your file permissions.'), + ts('Your extensions directory, %1, is not writable. Please change your file permissions.', + array(1 => $basedir)), ts('Extensions directory not writable'), \Psr\Log\LogLevel::ERROR ); -- 2.25.1