diff --git a/common.inc.php b/common.inc.php index 4cc8d40..a00dee7 100644 --- a/common.inc.php +++ b/common.inc.php @@ -66,8 +66,8 @@ else } //first things first - make sure our DB version matches our CODE version -$dbcodeversion=@file("db/db.code.version.txt"); -$dbdbversion=@file("db/db.db.version.txt"); +$dbcodeversion=@file($prependdir."db/db.code.version.txt"); +$dbdbversion=@file($prependdir."db/db.db.version.txt"); if(!$dbdbversion) { echo "SFIAB ERROR";