diff --git a/common.inc.php b/common.inc.php index 3d8013a..3ed1891 100644 --- a/common.inc.php +++ b/common.inc.php @@ -118,6 +118,7 @@ else $dbdbversion=$config['DBVERSION']; $dbcodeversion=@file($prependdir."db/db.code.version.txt"); +$dbcodeversion=trim($dbcodeversion[0]); if(!$dbdbversion) { @@ -129,7 +130,7 @@ if(!$dbdbversion) exit; } -if($dbcodeversion[0]!=$dbdbversion) +if($dbcodeversion!=$dbdbversion) { echo "