filemanagerDir

Navigation:  Development > Function Reference > Helpers > Config >

filemanagerDir

Previous pageReturn to chapter overviewNext page

Return directory path of the file manage directory. See below example:

 

App::Config()->filemanagerDir([Sub Part])

 

This function return path till "webroot/uploads/filemanager/"

 

Example:
// return /var/www/myproject/webroot/uploads/filemanager

$location = App::Config()->filemanagerDir();   
 

// return /var/www/myproject/webroot/uploads/filemanager/jobs/
$location = App::Config()->filemanagerDir("/jobs/"); 

 

See also: baseDir baseUrl filemanagerUrl rootDir skinDir skinUrl