[Phpfreechat-svn] SF.net SVN: phpfreechat: [1240] trunk/src/containers/file.class.php
Status: Beta
Brought to you by:
kerphi
|
From: <ke...@us...> - 2008-05-16 07:20:20
|
Revision: 1240
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1240&view=rev
Author: kerphi
Date: 2008-05-16 00:20:26 -0700 (Fri, 16 May 2008)
Log Message:
-----------
Fixes the timeout problem for special servers which do not update the file timestamp when the content doesn't change
Modified Paths:
--------------
trunk/src/containers/file.class.php
Modified: trunk/src/containers/file.class.php
===================================================================
--- trunk/src/containers/file.class.php 2008-05-04 06:47:21 UTC (rev 1239)
+++ trunk/src/containers/file.class.php 2008-05-16 07:20:26 UTC (rev 1240)
@@ -99,7 +99,7 @@
$leafexists = file_exists($leaffilename);
if ($leafvalue == NULL)
{
- file_put_contents($leaffilename, '', LOCK_EX);
+ touch($leaffilename);
}
else
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|