skinDir

Navigation:  Development > Function Reference > Helpers > Config >

skinDir

Previous pageReturn to chapter overviewNext page

Return directory path of the selected Theme. See below example:

 

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

 

 

Example:
// return /var/www/myproject/webroot/themeroot/rainbow

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

// return /var/www/myproject/webroot/themeroot/rainbow/images
$location = App::Config()->baseDir("/images"); 

 

See also: baseDir baseUrl filemanagerDir filemanagerUrl rootDir skinUrl