Moderators: OldWolf, re*s.t.a.r.s.*2
kerphi wrote:Ok, so according to cls's and your idea, could you try this patch ?
- Code: Select all
Index: containers/file.class.php
===================================================================
--- containers/file.class.php (révision 1238)
+++ containers/file.class.php (copie de travail)
@@ -99,7 +99,7 @@
$leafexists = file_exists($leaffilename);
if ($leafvalue == NULL)
{
- file_put_contents($leaffilename, '', LOCK_EX);
+ touch($leaffilename);
}
else
{
Please keep me informed if it fixes the problem and I'll commit the patch on the official source code.
Index: src/containers/file.class.php
===================================================================
--- src/containers/file.class.php (révision 1248)
+++ src/containers/file.class.php (copie de travail)
@@ -110,6 +110,7 @@
$leafexists = file_exists($leaffilename);
if ($leafvalue == NULL)
{
+ unlink($leaffilename);
touch($leaffilename);
}
else
Return to General Support (v1.x)
Users browsing this forum: No registered users and 98 guests