Difference between revisions of "Core/getDownloadPath"

From PunchCMS
Jump to: navigation, search
(New page: __NOTOC__ ==== 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. === Arg...)
 
(No difference)

Latest revision as of 22:34, 25 December 2008

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();