From: Andrew Hunt Date: Thu, 30 Apr 2015 02:56:39 +0000 (-0400) Subject: CRM-13823 better messages for directory checks X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9329d168b5bbce78b6573ef6b397369cbde3a047;p=civicrm-core.git CRM-13823 better messages for directory checks ---------------------------------------- * CRM-13823: Admin Status Page https://issues.civicrm.org/jira/browse/CRM-13823 --- 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 );