diff --git a/fpa-en.php b/fpa-en.php index 19fe3d2..562fbc3 100644 --- a/fpa-en.php +++ b/fpa-en.php @@ -296,7 +296,7 @@ define ( 'act', ''); /* v1.2.7 */ - define ( '_FPA_DIR_UNREADABLE', "A directory $path is NOT READABLE and cannot be checked!"); + define ( '_FPA_DIR_UNREADABLE', 'A directory is NOT READABLE and cannot be checked!'); /** END LANGUAGE STRINGS *****************************************************************/ @@ -1514,7 +1514,7 @@ function getDirectory( $path = '.', $level = 0 ) { // open the directory to the handle $dh if ( !$dh = @opendir( $path ) ) { # Bernard: if a folder is NOT readable, without this check we get endless loop - echo '
'._FPA_DIR_UNREADABLE.'
'; + echo '
'._FPA_DIR_UNREADABLE.': '.$path.'
'; return FALSE; }