Core/getFilePath

From PunchCMS
Jump to: navigation, search

PCMS_Client->getFilePath()

Overview

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

Arguments

None

Returns

The absolute path to the files.

Example

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