mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-08 20:46:05 +00:00
show versions if database version doesn't match seeddms version
This commit is contained in:
parent
817433638b
commit
0f79234012
|
@ -49,6 +49,9 @@ $dms = new SeedDMS_Core_DMS($db, $settings->_contentDir.$settings->_contentOffse
|
||||||
|
|
||||||
if(!$settings->_doNotCheckDBVersion && !$dms->checkVersion()) {
|
if(!$settings->_doNotCheckDBVersion && !$dms->checkVersion()) {
|
||||||
echo "Database update needed.";
|
echo "Database update needed.";
|
||||||
|
if($v = $dms->getDBVersion()) {
|
||||||
|
echo " Database has version ".$v['major'].".".$v['minor'].".".$v['subminor']." but this is SeedDMS ".$dms->version.".";
|
||||||
|
}
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user