X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=application%2Fexceptions%2FIOException.php;h=c1a9ffbe5bd41ac09dba84f3e6eb1132bce75706;hb=20ba77a2dc59d3a8d0cb1666267724bad864f62d;hp=b563b23d53671e37da9cce3fc6a25d6a428a1598;hpb=b8fcb7d4403a344158ab5d2c8979bdd002e6001d;p=github%2Fshaarli%2FShaarli.git diff --git a/application/exceptions/IOException.php b/application/exceptions/IOException.php index b563b23d..c1a9ffbe 100644 --- a/application/exceptions/IOException.php +++ b/application/exceptions/IOException.php @@ -1,5 +1,9 @@ path = $path; - $this->message = empty($message) ? 'Error accessing' : $message; - $this->message .= ' "' . $this->path .'"'; + $this->message = empty($message) ? t('Error accessing') : $message; + $this->message .= ' "' . $this->path . '"'; } }