Mozilla Skin

Core/getDownloadPath

From PunchCMS

PCMS_Client->getDownloadPath()

Overview

Get the base path to files uploaded by the CMS relative to the website path. This is read from the CMS settings.

Arguments

None

Returns

The relative path to the uploaded files folder.

Example

$objCms = PCMS_Client::getInstance();
 
$strPath = $objCms->getDownloadPath();