projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25a8b7e
)
UpdateDatabase.php
author
Alan Knowles
<alan@roojs.com>
Tue, 9 Oct 2018 07:45:56 +0000
(15:45 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 9 Oct 2018 07:45:56 +0000
(15:45 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
e66b5b5
..
e13af7c
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-1057,7
+1057,7
@@
class Pman_Core_UpdateDatabase extends Pman
){
die("Error: set sql_mode include 'ALLOW_INVALID_DATES', remove 'NO_ZERO_IN_DATE' AND 'STRICT_TRANS_TABLES' AND 'NO_ZERO_DATE' in my.cnf\n\n".
"Recommended line: \n\nsql_mode = ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION,ALLOW_INVALID_DATES\n\n"
-
);
+ );
}
}