Merge branch 'w04_MDL-31172_m23_fullpath' of git://github.com/skodak/moodle

This commit is contained in:
Sam Hemelryk
2012-01-23 16:09:41 +08:00
+1 -1
View File
@@ -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);
}
}
}