From 6a3532a3fc05f50df7d73be7a63f60ed4ef474be Mon Sep 17 00:00:00 2001 From: Karl Chen Date: Tue, 15 Jul 2003 21:37:04 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=1687 --- html/ops/show_log.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/html/ops/show_log.php b/html/ops/show_log.php index 8a85e5decb..0e987b4276 100644 --- a/html/ops/show_log.php +++ b/html/ops/show_log.php @@ -11,7 +11,10 @@ exit("Error: couldn't get log_dir from config file."); } - if (!$f || !preg_match("/^ *([a-z_*]+[.]out *)+$/", $f)) { + $f = $_GET["f"]; + $s = $_GET["s"]; + + if (!$f || !preg_match("/^ *([a-z_*]+[.](log|out) *)+$/", $f)) { $f = '*.log'; }