2005-09-20 22:48:35 +00:00
|
|
|
<?php
|
2008-08-05 22:43:14 +00:00
|
|
|
// This file is part of BOINC.
|
|
|
|
// http://boinc.berkeley.edu
|
|
|
|
// Copyright (C) 2008 University of California
|
|
|
|
//
|
|
|
|
// BOINC is free software; you can redistribute it and/or modify it
|
|
|
|
// under the terms of the GNU Lesser General Public License
|
|
|
|
// as published by the Free Software Foundation,
|
|
|
|
// either version 3 of the License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// BOINC is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
// See the GNU Lesser General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU Lesser General Public License
|
|
|
|
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
|
2005-09-20 22:48:35 +00:00
|
|
|
|
2005-09-22 22:07:30 +00:00
|
|
|
// server_status.php [-f xml_output_filename]
|
2005-09-26 18:11:14 +00:00
|
|
|
// (or server_status.php?xml=1)
|
2005-09-22 22:07:30 +00:00
|
|
|
//
|
|
|
|
// outputs general information about BOINC server status gathered from
|
2005-09-26 18:11:14 +00:00
|
|
|
// config.xml or mysql database queries. If you are running all your
|
|
|
|
// services on one machine, and the database isn't so large, this should
|
|
|
|
// work right out of the box. Otherwise see configureables below.
|
2005-09-22 22:07:30 +00:00
|
|
|
//
|
|
|
|
// Daemons in config.xml are checked to see if they are running by ssh'ing
|
|
|
|
// into the respective hosts and searching for active pids. Passwordless
|
2005-09-26 18:11:14 +00:00
|
|
|
// logins must be in effect if there are multiple hosts involved.
|
2005-09-22 22:07:30 +00:00
|
|
|
//
|
2005-09-26 18:11:14 +00:00
|
|
|
// The database queries may be very slow. You might consider running these
|
2005-09-22 22:07:30 +00:00
|
|
|
// queries elsewhere via cronjob, outputing numbers into a readable file,
|
2005-09-26 18:11:14 +00:00
|
|
|
// and then getting the latest values with a `/bin/tail -1 data_file`.
|
|
|
|
// See commented example in the code.
|
|
|
|
//
|
|
|
|
// You can get an xml version of the stats via the web when the url has the
|
|
|
|
// optional "?xml=1" tag at the end, i.e
|
|
|
|
// http://yourboincproject.edu/server_status.php?xml=1
|
2005-09-22 22:07:30 +00:00
|
|
|
//
|
|
|
|
// If running as a standalone program there is an optional -f flag where
|
2005-09-26 18:11:14 +00:00
|
|
|
// you can generate xml server status output to the filename you provide
|
|
|
|
// (this will output both html to stdout and xml to the filename given).
|
|
|
|
// Some may prefer to do this if takes so long to dredge up the stats for
|
|
|
|
// the html, you won't have to do it again to generate the xml.
|
2005-09-22 22:07:30 +00:00
|
|
|
//
|
|
|
|
// It is highly recommended that you run this program every 10 minutes and
|
2005-09-26 18:11:14 +00:00
|
|
|
// send its stdout to an .html file, rather than having the values get
|
|
|
|
// regenerated every time the page is accessed. Or use the available
|
|
|
|
// web page cache utilities.
|
2005-09-22 22:07:30 +00:00
|
|
|
//
|
|
|
|
// You should edit the following variables in config.xml to suit your needs:
|
|
|
|
//
|
|
|
|
// <www_host> hostname of web server (default: same as <host>)
|
|
|
|
// <sched_host> hostname of scheduling server (default: same as <host>)
|
|
|
|
// <uldl_host> hostname of upload/download server (default: same as <host>)
|
|
|
|
// <uldl_pid> pid file of upload/download server httpd.conf
|
|
|
|
// (default: /etc/httpd/run/httpd.pid)
|
|
|
|
// <ssh_exe> path to ssh (default: /usr/bin/ssh)
|
|
|
|
// <ps_exe> path to ps (which supports "w" flag) (default: /bin/ps)
|
|
|
|
|
2005-09-22 23:51:52 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2005-09-20 22:48:35 +00:00
|
|
|
|
2009-09-15 18:14:37 +00:00
|
|
|
require_once("../inc/util_ops.inc");
|
2005-09-22 23:51:52 +00:00
|
|
|
require_once("../inc/xml.inc");
|
|
|
|
require_once("../inc/cache.inc");
|
2005-09-20 22:48:35 +00:00
|
|
|
|
2005-09-22 23:51:52 +00:00
|
|
|
$xml = get_int("xml", true);
|
|
|
|
|
|
|
|
$cache_args = "";
|
|
|
|
if ($xml) $cache_args = "xml=1";
|
|
|
|
$cache_period = 600;
|
|
|
|
start_cache($cache_period, $cache_args);
|
2005-09-20 22:48:35 +00:00
|
|
|
|
2005-09-26 18:11:14 +00:00
|
|
|
$xmlout = "";
|
2007-12-19 21:28:58 +00:00
|
|
|
if ($argc>0 && $argv[1] == "-f") {
|
|
|
|
$xmlout = $argv[2];
|
2005-09-26 18:11:14 +00:00
|
|
|
$xmloutfile = fopen($xmlout,"w+");
|
|
|
|
if (!$xmloutfile) {
|
|
|
|
die( "failed to open file: $xmlout");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2005-09-22 22:07:30 +00:00
|
|
|
// daemon status outputs: 1 (running) 0 (not running) or -1 (disabled)
|
2005-09-22 23:51:52 +00:00
|
|
|
//
|
2005-09-20 22:48:35 +00:00
|
|
|
function daemon_status($host, $pidname, $progname, $disabled) {
|
2005-09-22 22:07:30 +00:00
|
|
|
global $ssh_exe, $ps_exe, $project_host;
|
2005-09-20 22:48:35 +00:00
|
|
|
$path = "../../pid_$host/$pidname.pid";
|
|
|
|
$running = 0;
|
|
|
|
if (is_file($path)) {
|
|
|
|
$pid = file_get_contents($path);
|
|
|
|
if ($pid) {
|
2007-05-05 03:11:35 +00:00
|
|
|
$pid = trim($pid);
|
2005-10-06 20:22:21 +00:00
|
|
|
$command = "$ps_exe ww $pid";
|
2005-09-22 23:51:52 +00:00
|
|
|
if ($host != $project_host) {
|
|
|
|
$command = "$ssh_exe $host " . $command;
|
|
|
|
}
|
2005-09-22 22:07:30 +00:00
|
|
|
$foo = exec($command);
|
2005-09-20 22:48:35 +00:00
|
|
|
if ($foo) {
|
2007-05-05 03:11:35 +00:00
|
|
|
if (strstr($foo, (string)$pid)) $running = 1;
|
2005-09-20 22:48:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2005-09-22 23:51:52 +00:00
|
|
|
if ($disabled == 1) $running = -1;
|
2005-09-20 22:48:35 +00:00
|
|
|
return $running;
|
|
|
|
}
|
|
|
|
|
|
|
|
function show_status($host, $function, $running) {
|
2005-09-26 18:11:14 +00:00
|
|
|
global $xml,$xmlout,$xmloutfile;
|
|
|
|
$xmlstring = " <daemon>\n <host>$host</host>\n <command>$function</command>\n";
|
|
|
|
$htmlstring = "<tr><td>$function</td><td>$host</td>";
|
2005-09-20 22:48:35 +00:00
|
|
|
if ($running == 1) {
|
2005-09-26 18:11:14 +00:00
|
|
|
$xmlstring .= " <status>running</status>\n";
|
2007-11-03 16:39:23 +00:00
|
|
|
$htmlstring .= "<td class=\"running\">Running</td>\n";
|
2007-06-13 21:16:27 +00:00
|
|
|
} elseif ($running == 0) {
|
2005-09-26 18:11:14 +00:00
|
|
|
$xmlstring .= " <status>not running</status>\n";
|
2007-11-03 16:39:23 +00:00
|
|
|
$htmlstring .= "<td class=\"notrunning\">Not Running</td>\n";
|
2007-06-13 21:16:27 +00:00
|
|
|
} else {
|
2005-09-26 18:11:14 +00:00
|
|
|
$xmlstring .= " <status>disabled</status>\n";
|
2007-11-03 16:39:23 +00:00
|
|
|
$htmlstring .= "<td class=\"disabled\">Disabled</td>\n";
|
2007-06-13 21:16:27 +00:00
|
|
|
}
|
2005-09-26 18:11:14 +00:00
|
|
|
$xmlstring .= " </daemon>\n";
|
|
|
|
$htmlstring .= "</tr>\n";
|
2007-06-13 21:16:27 +00:00
|
|
|
if ($xml) {
|
|
|
|
echo $xmlstring; return 0;
|
|
|
|
}
|
|
|
|
if ($xmlout) {
|
|
|
|
fwrite($xmloutfile, $xmlstring);
|
|
|
|
}
|
2005-09-26 18:11:14 +00:00
|
|
|
echo $htmlstring;
|
|
|
|
return 0;
|
2005-09-20 22:48:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
function show_daemon_status($host, $pidname, $progname, $disabled) {
|
|
|
|
$running = daemon_status($host, $pidname, $progname, $disabled);
|
|
|
|
show_status($host, $pidname, $running);
|
|
|
|
}
|
|
|
|
|
|
|
|
function show_counts($key, $xmlkey, $value) {
|
2005-09-26 18:11:14 +00:00
|
|
|
global $xml,$xmlout,$xmloutfile;
|
2005-09-20 22:48:35 +00:00
|
|
|
$formattedvalue = number_format($value);
|
2005-09-26 18:11:14 +00:00
|
|
|
$xmlstring = " <$xmlkey>$value</$xmlkey>\n";
|
2007-06-13 21:16:27 +00:00
|
|
|
if ($xml) {
|
|
|
|
echo $xmlstring;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
if ($xmlout) {
|
|
|
|
fwrite($xmloutfile,$xmlstring);
|
|
|
|
}
|
2005-09-26 18:11:14 +00:00
|
|
|
echo "<tr><td>$key</td><td>$formattedvalue</td></tr>";
|
|
|
|
return 0;
|
2005-09-20 22:48:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
function get_mysql_count ($query) {
|
|
|
|
$result = mysql_query("select count(*) as count from " . $query);
|
|
|
|
$count = mysql_fetch_object($result);
|
|
|
|
mysql_free_result($result);
|
|
|
|
return $count->count;
|
|
|
|
}
|
|
|
|
|
2005-09-22 22:07:30 +00:00
|
|
|
$config_xml = get_config();
|
|
|
|
$config_vars = parse_element($config_xml,"<config>");
|
|
|
|
$project_host = parse_element($config_vars,"<host>");
|
|
|
|
$www_host = parse_element($config_vars,"<www_host>");
|
2005-12-18 02:00:15 +00:00
|
|
|
if ($www_host == "") {
|
|
|
|
$www_host = $project_host;
|
|
|
|
}
|
2005-09-22 22:07:30 +00:00
|
|
|
$sched_host = parse_element($config_vars,"<sched_host>");
|
2005-12-18 02:00:15 +00:00
|
|
|
if ($sched_host == "") {
|
|
|
|
$sched_host = $project_host;
|
|
|
|
}
|
2005-09-26 19:56:32 +00:00
|
|
|
$uldl_pid = parse_element($config_vars,"<uldl_pid>");
|
2005-12-18 02:00:15 +00:00
|
|
|
if ($uldl_pid == "") {
|
|
|
|
$uldl_pid = "/etc/httpd/run/httpd.pid";
|
|
|
|
}
|
2005-09-22 22:07:30 +00:00
|
|
|
$uldl_host = parse_element($config_vars,"<uldl_host>");
|
2005-12-18 02:00:15 +00:00
|
|
|
if ($uldl_host == "") {
|
|
|
|
$uldl_host = $project_host;
|
|
|
|
}
|
2005-09-22 22:07:30 +00:00
|
|
|
$ssh_exe = parse_element($config_vars,"<ssh_exe>");
|
2005-12-18 02:00:15 +00:00
|
|
|
if ($ssh_exe == "") {
|
|
|
|
$ssh_exe = "/usr/bin/ssh";
|
|
|
|
}
|
2005-09-22 22:07:30 +00:00
|
|
|
$ps_exe = parse_element($config_vars,"<ps_exe>");
|
2005-12-18 02:00:15 +00:00
|
|
|
if ($ps_exe == "") {
|
|
|
|
$ps_exe = "/bin/ps";
|
|
|
|
}
|
2005-09-22 22:07:30 +00:00
|
|
|
|
2007-05-05 03:11:35 +00:00
|
|
|
$version = null;
|
|
|
|
if (file_exists("../../local.revision")) {
|
|
|
|
$version = trim(file_get_contents("../../local.revision"));
|
|
|
|
}
|
|
|
|
$now = time();
|
2005-09-20 22:48:35 +00:00
|
|
|
|
2007-05-05 03:11:35 +00:00
|
|
|
$xmlstring = "<server_status>
|
|
|
|
<update_time>$now</update_time>
|
|
|
|
";
|
|
|
|
if ($version) {
|
|
|
|
$xmlstring .= "<software_version>$version</software_version>\n";
|
|
|
|
}
|
|
|
|
$xmlstring .= " <daemon_status>\n";
|
2005-09-22 23:51:52 +00:00
|
|
|
if ($xml) {
|
|
|
|
xml_header();
|
2005-09-26 18:11:14 +00:00
|
|
|
echo $xmlstring;
|
2005-09-22 23:51:52 +00:00
|
|
|
} else {
|
2005-09-26 18:11:14 +00:00
|
|
|
if ($xmlout) {
|
|
|
|
fwrite($xmloutfile,$xmlstring);
|
|
|
|
}
|
2005-09-22 23:51:52 +00:00
|
|
|
page_head("Server status page");
|
2007-05-05 03:11:35 +00:00
|
|
|
if ($version) {
|
|
|
|
echo "Server software version: $version<p>\n";
|
|
|
|
}
|
|
|
|
echo time_str(time()), "
|
2005-09-22 23:51:52 +00:00
|
|
|
<table width=100%>
|
|
|
|
<tr>
|
|
|
|
<td width=40% valign=top>
|
|
|
|
<h2>Server status</h2>
|
|
|
|
<table border=0 cellpadding=4>
|
|
|
|
<tr><th>Program</th><th>Host</th><th>Status</th></tr>
|
|
|
|
";
|
2005-09-20 22:48:35 +00:00
|
|
|
}
|
2007-05-05 03:11:35 +00:00
|
|
|
;
|
|
|
|
// Are the data-driven web sites running? Check for existence of stop_web.
|
|
|
|
// If it is there, set $web_running to -1 for "disabled",
|
|
|
|
// otherwise it will be already set to 1 for "enabled."
|
2005-09-22 22:07:30 +00:00
|
|
|
// Set $www_host to the name of server hosting WWW site.
|
2005-09-22 23:51:52 +00:00
|
|
|
//
|
2005-09-20 22:48:35 +00:00
|
|
|
$web_running = !file_exists("../../stop_web");
|
2005-09-22 23:51:52 +00:00
|
|
|
if ($web_running == 0) $web_running = -1;
|
2005-09-22 22:07:30 +00:00
|
|
|
show_status($www_host, "data-driven web pages", $web_running);
|
2005-09-20 22:48:35 +00:00
|
|
|
|
2005-09-22 22:07:30 +00:00
|
|
|
// Check for httpd.pid file of upload/download server.
|
2005-09-22 23:51:52 +00:00
|
|
|
//
|
2005-09-20 22:48:35 +00:00
|
|
|
$uldl_running = file_exists($uldl_pid);
|
2005-09-22 23:51:52 +00:00
|
|
|
if ($uldl_running == 0) $uldl_running = -1;
|
2005-09-20 22:48:35 +00:00
|
|
|
show_status($uldl_host, "upload/download server", $uldl_running);
|
|
|
|
|
2007-06-13 21:16:27 +00:00
|
|
|
$sched_running = !file_exists("../../stop_sched");
|
2005-09-20 22:48:35 +00:00
|
|
|
show_status($sched_host, "scheduler", $sched_running);
|
|
|
|
|
2005-09-22 22:07:30 +00:00
|
|
|
// parse through config.xml to get all daemons running
|
2005-09-22 23:51:52 +00:00
|
|
|
//
|
2005-09-20 22:48:35 +00:00
|
|
|
$cursor = 0;
|
2006-12-17 17:19:29 +00:00
|
|
|
while ($thisxml = trim(parse_next_element($config_xml,"<daemon>",$cursor))) {
|
2005-09-22 23:51:52 +00:00
|
|
|
$host = parse_element($thisxml,"<host>");
|
2007-12-24 21:34:21 +00:00
|
|
|
if ($host == "") {
|
|
|
|
$host = $project_host;
|
|
|
|
}
|
2005-09-22 23:51:52 +00:00
|
|
|
$cmd = parse_element($thisxml,"<cmd>");
|
|
|
|
list($ncmd) = explode(" ",$cmd);
|
|
|
|
$log = parse_element($thisxml,"<output>");
|
2007-12-24 21:34:21 +00:00
|
|
|
if (!$log) {
|
|
|
|
$log = $ncmd . ".log";
|
|
|
|
}
|
2005-09-22 23:51:52 +00:00
|
|
|
list($nlog) = explode(".log",$log);
|
|
|
|
$pid = parse_element($thisxml,"<pid_file>");
|
2007-12-24 21:34:21 +00:00
|
|
|
if (!$pid) {
|
|
|
|
$pid = $ncmd . ".pid";
|
|
|
|
}
|
2005-09-22 23:51:52 +00:00
|
|
|
$disabled = parse_element($thisxml,"<disabled>");
|
2007-06-13 21:16:27 +00:00
|
|
|
show_daemon_status($host, $nlog, $ncmd, $disabled);
|
2005-09-22 22:07:30 +00:00
|
|
|
}
|
2005-09-20 22:48:35 +00:00
|
|
|
|
2005-09-26 18:11:14 +00:00
|
|
|
$xmlstring = " </daemon_status>\n <database_file_states>\n";
|
2005-12-18 02:00:15 +00:00
|
|
|
if ($xml) {
|
|
|
|
echo $xmlstring;
|
|
|
|
} else {
|
|
|
|
if ($xmlout) {
|
|
|
|
fwrite($xmloutfile,$xmlstring);
|
|
|
|
}
|
2005-09-22 23:51:52 +00:00
|
|
|
echo "
|
|
|
|
<tr><td align=right><b>Running:</b></td>
|
|
|
|
<td colspan=2>Program is operating normally</td></tr>
|
|
|
|
<tr><td align=right><b>Not Running:</b></td>
|
|
|
|
<td colspan=2>Program failed or ran out of work<br>
|
|
|
|
(or the project is down)</td></tr>
|
|
|
|
<tr><td align=right><b>Disabled:</b></td>
|
|
|
|
<td colspan=2>Program has been disabled by staff<br>
|
|
|
|
(for debugging/maintenance)</td></tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
<td width=40% valign=top>
|
|
|
|
<h2>Database/file status</h2>
|
|
|
|
";
|
2005-09-20 22:48:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
$retval = db_init_aux();
|
|
|
|
if ($retval) {
|
|
|
|
echo "The database server is not accessible";
|
|
|
|
} else {
|
2005-09-22 23:51:52 +00:00
|
|
|
if (!$xml) {
|
|
|
|
echo "
|
|
|
|
<table border=0 cellpadding=4>
|
|
|
|
<tr><th>State</th><th>#</th></tr>
|
|
|
|
";
|
|
|
|
}
|
2005-09-20 22:48:35 +00:00
|
|
|
|
2005-09-26 18:11:14 +00:00
|
|
|
// If you are reading these values from a file rather than
|
|
|
|
// making live queries to the database, do something like this:
|
|
|
|
//
|
|
|
|
// $sendfile = "/home/boincadm/server_status_data/count_results_unsent.out";
|
|
|
|
// $n = `/bin/tail -1 $sendfile`;
|
2010-03-05 21:13:53 +00:00
|
|
|
// show_counts("Tasks ready to send","results_ready_to_send",$n);
|
2005-09-26 18:11:14 +00:00
|
|
|
|
2005-12-18 02:00:15 +00:00
|
|
|
show_counts(
|
2010-03-05 21:13:53 +00:00
|
|
|
"Tasks ready to send",
|
2005-12-18 02:00:15 +00:00
|
|
|
"results_ready_to_send",
|
|
|
|
get_mysql_count("result where server_state = 2")
|
|
|
|
);
|
|
|
|
show_counts(
|
2010-03-05 21:13:53 +00:00
|
|
|
"Tasks in progress",
|
2005-12-18 02:00:15 +00:00
|
|
|
"results_in_progress",
|
|
|
|
get_mysql_count("result where server_state = 4")
|
|
|
|
);
|
|
|
|
show_counts(
|
|
|
|
"Workunits waiting for validation",
|
|
|
|
"workunits_waiting_for_validation",
|
|
|
|
get_mysql_count("workunit where need_validate=1")
|
|
|
|
);
|
|
|
|
show_counts(
|
|
|
|
"Workunits waiting for assimilation",
|
|
|
|
"workunits_waiting_for_assimilation",
|
|
|
|
get_mysql_count("workunit where assimilate_state=1")
|
|
|
|
);
|
|
|
|
show_counts(
|
2010-03-05 21:13:53 +00:00
|
|
|
"Workunits waiting for file deletion",
|
2005-12-18 02:00:15 +00:00
|
|
|
"workunits_waiting_for_deletion",
|
|
|
|
get_mysql_count("workunit where file_delete_state=1")
|
|
|
|
);
|
|
|
|
show_counts(
|
2010-03-05 21:13:53 +00:00
|
|
|
"Tasks waiting for file deletion",
|
2005-12-18 02:00:15 +00:00
|
|
|
"results_waiting_for_deletion",
|
|
|
|
get_mysql_count("result where file_delete_state=1")
|
|
|
|
);
|
2005-09-20 22:48:35 +00:00
|
|
|
|
|
|
|
$result = mysql_query("select MIN(transition_time) as min from workunit");
|
|
|
|
$min = mysql_fetch_object($result);
|
|
|
|
mysql_free_result($result);
|
|
|
|
$gap = (time() - $min->min)/3600;
|
2007-07-06 17:07:40 +00:00
|
|
|
if (($gap < 0) || ($min->min == 0)) {
|
2005-12-18 02:00:15 +00:00
|
|
|
$gap = 0;
|
|
|
|
}
|
|
|
|
show_counts(
|
|
|
|
"Transitioner backlog (hours)",
|
|
|
|
"transitioner_backlog_hours",
|
|
|
|
$gap
|
|
|
|
);
|
2005-09-22 23:51:52 +00:00
|
|
|
if (!$xml) {
|
|
|
|
echo "</table>";
|
|
|
|
}
|
2005-09-20 22:48:35 +00:00
|
|
|
}
|
|
|
|
|
2005-09-26 18:11:14 +00:00
|
|
|
$xmlstring = " </database_file_states>\n</server_status>\n";
|
2005-12-18 02:00:15 +00:00
|
|
|
if ($xml) {
|
|
|
|
echo $xmlstring;
|
|
|
|
} else {
|
|
|
|
if ($xmlout) {
|
2007-05-05 03:11:35 +00:00
|
|
|
fwrite($xmloutfile, $xmlstring);
|
2005-12-18 02:00:15 +00:00
|
|
|
}
|
2005-09-22 23:51:52 +00:00
|
|
|
echo "
|
2007-05-05 03:11:35 +00:00
|
|
|
</td>
|
|
|
|
<td> </td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2005-09-22 23:51:52 +00:00
|
|
|
";
|
|
|
|
page_tail();
|
2005-09-20 22:48:35 +00:00
|
|
|
}
|
|
|
|
|
2005-09-22 23:51:52 +00:00
|
|
|
end_cache($cache_period, $cache_args);
|
2005-09-20 22:48:35 +00:00
|
|
|
?>
|