[Phphtmllib-devel] SF.net SVN: phphtmllib:[3317] trunk/open2300/lib/core/daemon/ AviProcessorDaemon
Status: Beta
Brought to you by:
hemna
From: <he...@us...> - 2009-12-11 23:16:35
|
Revision: 3317 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3317&view=rev Author: hemna Date: 2009-12-11 23:16:27 +0000 (Fri, 11 Dec 2009) Log Message: ----------- make sure the flash dir exists as well Modified Paths: -------------- trunk/open2300/lib/core/daemon/AviProcessorDaemon.inc Modified: trunk/open2300/lib/core/daemon/AviProcessorDaemon.inc =================================================================== --- trunk/open2300/lib/core/daemon/AviProcessorDaemon.inc 2009-12-01 17:57:38 UTC (rev 3316) +++ trunk/open2300/lib/core/daemon/AviProcessorDaemon.inc 2009-12-11 23:16:27 UTC (rev 3317) @@ -198,11 +198,17 @@ * */ protected function test_images_dir($dirname) { + + $ymdDate = date("Ymd"); + $flashdirname = $dirname."/".$ymdDate; + if (!file_exists($dirname)) { $this->create_dir($dirname); - $ymdDate = date("Ymd"); - $this->create_dir($dirname."/".$ymdDate); } + + if (!file_exists($flashdirname)) { + $this->create_dir($flashdirname); + } } /** @@ -234,4 +240,4 @@ } } -?> \ No newline at end of file +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |