checkFile

Navigation:  Development > Function Reference > Helpers > Utility >

checkFile

Previous pageReturn to chapter overviewNext page

Return true if file exists.

 

App::Utility()->checkfile(path)

 

Parameter

Description

path

File path

 

See bellow example:

 

$flag = App::Utility()->checkfile(App::Config()->fileManagerDir('/logo.jpg'));