From e4172f153574b230abbfd010146099f9d5dabacc Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 28 Sep 2014 01:47:59 -0700 Subject: [PATCH] update_versions: fix bug related to MYSQLI changes PHP tools now need chdir into html/inc before including DB-related files --- tools/update_versions | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/update_versions b/tools/update_versions index a753599926..786df1dd10 100755 --- a/tools/update_versions +++ b/tools/update_versions @@ -28,8 +28,10 @@ error_reporting(E_ALL); ini_set('display_errors', true); ini_set('display_startup_errors', true); -require_once("html/inc/boinc_db.inc"); -require_once("html/inc/util_basic.inc"); +chdir("html/inc"); +require_once("boinc_db.inc"); +require_once("util_basic.inc"); +chdir ("../.."); $apps = BoincApp::enum(""); $platforms = BoincPlatform::enum("");