baseUrl

Navigation:  Development > Function Reference > Helpers > Config >

baseUrl

Previous pageReturn to chapter overviewNext page

Return website base address.

 

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

 

 

Example:
// return http://www.example.com

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

// return http://www.example.com/uploads
$location = App::Config()->baseDir("/uploads"); 

 

See also: baseDir filemanagerDir filemanagerUrl rootDir skinDir skinUrl