projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
788b75b
)
UpdateDatabase.php
author
Edward
<edward@roojs.com>
Wed, 3 Oct 2018 03:32:46 +0000
(11:32 +0800)
committer
Edward
<edward@roojs.com>
Wed, 3 Oct 2018 03:32:46 +0000
(11:32 +0800)
UpdateDatabase.php
patch
|
blob
|
history
diff --git
a/UpdateDatabase.php
b/UpdateDatabase.php
index
9164a21
..
e086468
100644
(file)
--- a/
UpdateDatabase.php
+++ b/
UpdateDatabase.php
@@
-193,7
+193,7
@@
class Pman_Core_UpdateDatabase extends Pman
}
// ask all the modules to verify the opts
}
// ask all the modules to verify the opts
- echo "Chec
i
options\n";
+ echo "Chec
king
options\n";
$this->checkOpts($opts);
$response = $this->curl("http://localhost{$this->local_base_url}/Core/UpdateDatabase/VerifyExtensions");
$this->checkOpts($opts);
$response = $this->curl("http://localhost{$this->local_base_url}/Core/UpdateDatabase/VerifyExtensions");
@@
-206,6
+206,11
@@
class Pman_Core_UpdateDatabase extends Pman
exit;
}
exit;
}
+ echo "Checking Setup Requirements\n";
+ require_once 'Pman/Core/UpdateDatabase/SetupRequirement.php';
+ $sq = new Pman_Core_UpdateDatabase_SetupRequirement();
+ $sq->get();
+
// do this first, so the innodb change + utf8 fixes column max sizes
// this will trigger errors about freetext indexes - we will have to remove them manually.?
// do this first, so the innodb change + utf8 fixes column max sizes
// this will trigger errors about freetext indexes - we will have to remove them manually.?