mirror of https://github.com/BOINC/boinc.git
- web: use read-only replica when possible
svn path=/trunk/boinc/; revision=18146
This commit is contained in:
parent
315b25f526
commit
de0bf5ad83
|
@ -4625,3 +4625,12 @@ David 17 May 2009
|
|||
db_update.php
|
||||
py/Boinc
|
||||
setup_project.py
|
||||
|
||||
David 17 May 2009
|
||||
- web: use read-only replica when possible
|
||||
|
||||
html/user/
|
||||
pending.php
|
||||
results.php
|
||||
show_host_detail.php
|
||||
workunit.php
|
||||
|
|
|
@ -22,6 +22,8 @@ require_once("../inc/util.inc");
|
|||
require_once("../inc/boinc_db.inc");
|
||||
require_once("../inc/xml.inc");
|
||||
|
||||
BoincDb::get(true);
|
||||
|
||||
$config = get_config();
|
||||
if (!parse_bool($config, "show_results")) {
|
||||
error_page("This feature is turned off temporarily");
|
||||
|
|
|
@ -27,6 +27,8 @@ if (!parse_bool($config, "show_results")) {
|
|||
error_page(tra("This feature is turned off temporarily"));
|
||||
}
|
||||
|
||||
BoincDb::get(true);
|
||||
|
||||
$results_per_page = 20;
|
||||
|
||||
$hostid = get_int("hostid", true);
|
||||
|
|
|
@ -21,6 +21,8 @@ require_once("../inc/util.inc");
|
|||
require_once("../inc/user.inc");
|
||||
require_once("../inc/host.inc");
|
||||
|
||||
BoincDb::get(true);
|
||||
|
||||
$hostid = get_int("hostid");
|
||||
$ipprivate = get_str("ipprivate", true);
|
||||
$host = BoincHost::lookup_id($hostid);
|
||||
|
|
|
@ -22,6 +22,8 @@ require_once("../inc/util.inc");
|
|||
require_once("../inc/boinc_db.inc");
|
||||
require_once("../inc/result.inc");
|
||||
|
||||
BoincDb::get(true);
|
||||
|
||||
$wuid = get_int("wuid");
|
||||
$wu = BoincWorkunit::lookup_id($wuid);
|
||||
if (!$wu) {
|
||||
|
|
Loading…
Reference in New Issue