Skip to content

Commit

Permalink
label correction
Browse files Browse the repository at this point in the history
  • Loading branch information
btoplak committed Apr 13, 2016
1 parent 71fa65f commit ffb95cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fpa-en.php
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@
define ( 'act', '');

/* v1.2.7 */
define ( '_FPA_DIR_UNREADABLE', "A directory $path is <b>NOT READABLE</b> and cannot be checked!");
define ( '_FPA_DIR_UNREADABLE', 'A directory is <b>NOT READABLE</b> and cannot be checked!');

/** END LANGUAGE STRINGS *****************************************************************/

Expand Down Expand Up @@ -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 '<div class="alert" style="padding:25px;"><span class="alert-text" style="font-size:x-large;">'._FPA_DIR_UNREADABLE.'</span></div>';
echo '<div class="alert" style="padding:25px;"><span class="alert-text" style="font-size:x-large;">'._FPA_DIR_UNREADABLE.': <b>'.$path.'</b></span></div>';
return FALSE;
}

Expand Down

0 comments on commit ffb95cc

Please sign in to comment.