[Phpfreechat-svn] SF.net SVN: phpfreechat: [638] trunk/src/pfctools.php
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-07-03 13:21:03
|
Revision: 638 Author: kerphi Date: 2006-07-03 06:20:40 -0700 (Mon, 03 Jul 2006) ViewCVS: http://svn.sourceforge.net/phpfreechat/?rev=638&view=rev Log Message: ----------- typo Modified Paths: -------------- trunk/src/pfctools.php Modified: trunk/src/pfctools.php =================================================================== --- trunk/src/pfctools.php 2006-07-03 13:17:20 UTC (rev 637) +++ trunk/src/pfctools.php 2006-07-03 13:20:40 UTC (rev 638) @@ -119,14 +119,13 @@ function rm_r($dir) { - $dir = realpath($dir); if(!$dh = @opendir($dir)) return; while (($obj = readdir($dh))) { if($obj=='.' || $obj=='..') continue; if (!@unlink($dir.'/'.$obj)) rm_r($dir.'/'.$obj); } - rmdir($dir); + @rmdir($dir); } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |