projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
890fa4c
)
UpdateDatabase.php
author
edward
<edward@roojs.com>
Wed, 24 Aug 2016 09:45:30 +0000
(17:45 +0800)
committer
edward
<edward@roojs.com>
Wed, 24 Aug 2016 09:45:30 +0000
(17:45 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
589a685
..
cd96bd4
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-883,11
+883,9
@@
class Pman_Core_UpdateDatabase extends Pman
$db = DB_DataObject::factory('core_enum');
$db->query("show variables like 'sql_mode'");
$db->fetch();
- print_r($db->Value);exit;
- $modes = explode(",", $db->
v
alue);
+ $modes = explode(",", $db->
V
alue);
- print_r($db->value);exit;
if(
in_array('NO_ZERO_IN_DATE', $modes) ||
in_array('NO_ZERO_DATE', $modes) ||