[Phphtmllib-devel] SF.net SVN: phphtmllib:[3355] trunk/open2300/lib/modules/wxdate/page/WxDate .inc
Status: Beta
Brought to you by:
hemna
From: <he...@us...> - 2010-02-22 07:05:29
|
Revision: 3355 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3355&view=rev Author: hemna Date: 2010-02-22 07:05:20 +0000 (Mon, 22 Feb 2010) Log Message: ----------- picker Modified Paths: -------------- trunk/open2300/lib/modules/wxdate/page/WxDate.inc Modified: trunk/open2300/lib/modules/wxdate/page/WxDate.inc =================================================================== --- trunk/open2300/lib/modules/wxdate/page/WxDate.inc 2010-02-22 06:55:56 UTC (rev 3354) +++ trunk/open2300/lib/modules/wxdate/page/WxDate.inc 2010-02-22 07:05:20 UTC (rev 3355) @@ -16,10 +16,10 @@ $this->wxdate = Request::singleton()->get("date", date("Y-m-d")); //make sure we have a valid date here - if (empty($this->date) || is_null($this->date)) { - $this->date = date("Y-m-d"); + if (empty($this->wxdate) || is_null($this->wxdate)) { + $this->wxdate = date("Y-m-d"); } - //Log::singleton()->debug("use date of ".$this->wxdate); + Log::singleton()->debug("use date of ".$this->wxdate); } @@ -53,7 +53,7 @@ //only show the flash overlay if we //have today's video file on disk - $curdate = date("Ymd", strtotime($this->date)); + $curdate = date("Ymd", strtotime($this->wxdate)); $filename = $config->get('videodir')."/".$curdate."/timelapse.flv"; //$cam_title_div->add($filename); if (file_exists($filename)) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |