Code

Added file moving
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 28 Oct 2005 07:04:28 +0000 (07:04 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 28 Oct 2005 07:04:28 +0000 (07:04 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1712 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_ppdManager.inc

index 1852a3e5fbb45c8ab9230ff4c1340c2a55c1cc61..bca018b514eb9cbcb39012a5e53a8502199eb584 100644 (file)
@@ -91,7 +91,8 @@ class ppdManager
                fclose($wp);
                fclose($rp);
 
-               echo "Move $file.tmp to $file<br>";
+               copy("$file.tmp", "$file");
+               unlink("$file.tmp");
        }