mirror of https://github.com/BOINC/boinc.git
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:
parent
cacbd3e39b
commit
e4172f1535
|
@ -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("");
|
||||
|
|
Loading…
Reference in New Issue