aboutsummaryrefslogtreecommitdiff
path: root/src/balloon.php
diff options
context:
space:
mode:
authorLucas Faria Mendes <lucas.fariamo08@gmail.com>2026-06-05 11:52:54 +0000
committerLucas Faria Mendes <lucas.fariamo08@gmail.com>2026-06-05 11:52:54 +0000
commit0fc1ba6dff3238360a0a0da3b7cc65b86b911c63 (patch)
tree59451a4fd9f67a294d5be1c954661d4f3354d9c8 /src/balloon.php
parent64451b33aa22fc5b96abc65bb416a2e0c78a2a98 (diff)
downloadboca-master.tar.gz
boca-master.zip
fix: update stylesheet links to use lowercase 'css.php' for consistencyHEADmaster
Diffstat (limited to 'src/balloon.php')
-rw-r--r--src/balloon.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/balloon.php b/src/balloon.php
index ae5e186..81b7b5c 100644
--- a/src/balloon.php
+++ b/src/balloon.php
@@ -1,4 +1,5 @@
<?php
+
////////////////////////////////////////////////////////////////////////////////
//BOCA Online Contest Administrator
// Copyright (C) 2003-2012 by BOCA Development Team (bocasystem@gmail.com)
@@ -16,6 +17,7 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
////////////////////////////////////////////////////////////////////////////////
// Last modified 05/aug/2012 by cassio@ime.usp.br
+
ob_start();
header ("Expires: " . gmdate("D, d M Y H:i:s") . " GMT");
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
@@ -27,11 +29,15 @@ ob_end_flush();
require_once('fballoon.php');
$get_s=false;
+
if(isset($_GET["s"]))
$get_s=true;
+
$get_color=null;
+
if(isset($_GET["color"]))
$get_color=$_GET["color"];
balloonpng($_SESSION["locr"],$get_s,$get_color,null);
+
?>