Y para renombrar una carpeta?
Asi:
if(!parent::install() OR
!rename(_PS_ROOT_DIR_.'/js/tiny_mce',_PS_ROOT_DIR_.'/js/tiny_mce_old') OR
!copy(_PS_MODULE_DIR_."/tinymcefull/js/tiny_mce",_PS_ROOT_DIR_.'/js/tiny_mce'))
return false;
if(file_exists(_PS_ROOT_DIR_.'/cache/class_index.php'))
unlink(_PS_ROOT_DIR_.'/cache/class_index.php');
return true;
[spam-filter]