From 3a5f406ff59a05c0eddda191127d58b39cb8049b Mon Sep 17 00:00:00 2001 From: cassiopc Date: Wed, 24 Oct 2012 09:56:07 +0200 Subject: open dir for 1.5.2. I still must split devel and master in different branches to properly use git... --- boca-1.5.2/src/balloon.php | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 boca-1.5.2/src/balloon.php (limited to 'boca-1.5.2/src/balloon.php') diff --git a/boca-1.5.2/src/balloon.php b/boca-1.5.2/src/balloon.php new file mode 100644 index 0000000..ae5e186 --- /dev/null +++ b/boca-1.5.2/src/balloon.php @@ -0,0 +1,37 @@ +. +//////////////////////////////////////////////////////////////////////////////// +// 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"); +header ("Cache-Control: no-cache, must-revalidate"); +header ("Pragma: no-cache"); +header('Content-type: image/png'); +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); +?> -- cgit v1.2.3