Class FileSystem
Located at Base/Lib/FileSystem.php
public static
|
|
public static
|
|
public static
|
|
public static
|
#
recursiveRemoveDirectory( mixed $directory, mixed $empty = FALSE )
// ------------ lixlpixel recursive PHP functions ------------- // recursive_remove_directory( directory to delete, empty ) // expects path to directory and optional TRUE / FALSE to empty // of course PHP has to have the rights to delete the directory // you specify and all files and folders inside the directory // ------------------------------------------------------------ // to use this function to totally remove a directory, write: // recursive_remove_directory('path/to/directory/to/delete'); // to use this function to empty a directory, write: // recursive_remove_directory('path/to/full_directory',TRUE); http://lixlpixel.org/recursive_function/php/recursive_directory_delete/ |
public static
|