How to delete sample data

Hi everyone, does anyone know how I can delete folders and sample files when a new user is created?


rm /wwwroot/skeleton/*

1 Like

Better just set 'skeletondirectory' => '', in your config.php or set it to an own folder with individual content: (bid down the page)

Otherwise you will face integrity check errors on updates, I think.


Thanks, it was very helpful.