[Jaws-commits] r13478 - branches/0.8/html/include/Jaws

afz at jaws-project.com afz at jaws-project.com
Fri Aug 17 11:39:25 UTC 2012


Author: afz
Date: 2012-08-17 11:39:25 +0000 (Fri, 17 Aug 2012)
New Revision: 13478

Modified:
   branches/0.8/html/include/Jaws/Registry.php
Log:
[Registry]: using Jaws_Utils method

Modified: branches/0.8/html/include/Jaws/Registry.php
===================================================================
--- branches/0.8/html/include/Jaws/Registry.php	2012-08-16 21:01:52 UTC (rev 13477)
+++ branches/0.8/html/include/Jaws/Registry.php	2012-08-17 11:39:25 UTC (rev 13478)
@@ -480,10 +480,7 @@
 
         $file  = JAWS_DATA . 'cache/registry/'. $add . $comp . '.php';
         $content = "<?php\n" . $data;
-        $fp = file_put_contents($file, $content);
-        if ($fp !== false) {
-            Jaws_Utils::chmod($file);
-        }
+        Jaws_Utils::file_put_contents($file, $content);
     }
 
     /**



More information about the Jaws-commits mailing list