From: <ad...@tu...> - 2003-03-12 20:23:37
|
I added a new function to the PHPWS_File class today called 'rmdir'. It will remove a directory and all it's contents and does not rely on the system being a unix-based environment. As folks get a chance, update anywhere you are removing directories using system("rm -rf $dir") and use PHPWS_File::rmdir($dir) instead. Also anywhere you are creating directories using system("mkdir $dir"), use the PHP provided mkdir($dir) instead. This will help to ensure phpws running smoothly in multiple environments. Adam --------------------------------------------------------------------- Adam Morton Developer - Electronic Student Services http://phpwebsite.appstate.edu Founder - Appalachian Linux Users Group http://alug.appstate.edu |