The filename is the first parameter!
This commit is contained in:
parent
2bf9bc65d9
commit
91a55eced9
1 changed files with 1 additions and 1 deletions
|
|
@ -2510,7 +2510,7 @@ function dbErrorLogged() {
|
|||
if ( !isset( $filesize ) ) {
|
||||
// create log if it does not exist
|
||||
if ( !file_exists( DB_ERROR_LOG_FILE ) ) {
|
||||
saveFile( "", DB_ERROR_LOG_FILE );
|
||||
saveFile( DB_ERROR_LOG_FILE, '' );
|
||||
}
|
||||
$filesize = filesize( DB_ERROR_LOG_FILE );
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue