deleteFile

Navigation:  Development > Function Reference > Helpers > Utility >

deleteFile

Previous pageReturn to chapter overviewNext page

Delete an existing file.

 

App::Utility()->deleteFile(Src)

 

Parameter

Description

Src

Path of the file to delete

 

 

See bellow example:
 
echo App::Utility()->deleteFile(App::Config()->baseDir("/test.txt"));