mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +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()) {
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user