diff --git a/backup/util/loggers/file_logger.class.php b/backup/util/loggers/file_logger.class.php index b183767607a..e4ab4b1d824 100644 --- a/backup/util/loggers/file_logger.class.php +++ b/backup/util/loggers/file_logger.class.php @@ -61,7 +61,7 @@ class file_logger extends base_logger { public function __wakeup() { if ($this->level > backup::LOG_NONE) { // Only create the file if we are going to log something if (! $this->fhandle = fopen($this->fullpath, 'a')) { - throw new base_logger_exception('error_opening_file', $fullpath); + throw new base_logger_exception('error_opening_file', $this->fullpath); } } }