From: cajus Date: Fri, 28 Oct 2005 07:04:28 +0000 (+0000) Subject: Added file moving X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9ab5fc35830d805ce64bbad538456e343095d13e;p=gosa.git Added file moving git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1712 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_ppdManager.inc b/include/class_ppdManager.inc index 1852a3e5f..bca018b51 100644 --- a/include/class_ppdManager.inc +++ b/include/class_ppdManager.inc @@ -91,7 +91,8 @@ class ppdManager fclose($wp); fclose($rp); - echo "Move $file.tmp to $file
"; + copy("$file.tmp", "$file"); + unlink("$file.tmp"); }