update_versions: fix bug related to MYSQLI changes

PHP tools now need chdir into html/inc before including DB-related files
This commit is contained in:
David Anderson 2014-09-28 01:47:59 -07:00
parent cacbd3e39b
commit e4172f1535
1 changed files with 4 additions and 2 deletions

View File

@ -28,8 +28,10 @@ error_reporting(E_ALL);
ini_set('display_errors', true); ini_set('display_errors', true);
ini_set('display_startup_errors', true); ini_set('display_startup_errors', true);
require_once("html/inc/boinc_db.inc"); chdir("html/inc");
require_once("html/inc/util_basic.inc"); require_once("boinc_db.inc");
require_once("util_basic.inc");
chdir ("../..");
$apps = BoincApp::enum(""); $apps = BoincApp::enum("");
$platforms = BoincPlatform::enum(""); $platforms = BoincPlatform::enum("");