Skip to content
Snippets Groups Projects

fix(notice): Notice error when cannot create log file

Merged Krzysztof Dyszczyk requested to merge bugfix/notice into master
2 files
+ 8
2
Compare changes
  • Side-by-side
  • Inline

Files

+ 5
1
@@ -87,7 +87,11 @@ class WPCapture {
}
}
return true;
if (!is_writable($log_file)) {
$this->add_notice_for_file($log_file);
return false;
}
return true;
}
/**
Loading