Core/getBasePath
From PunchCMS
PCMS_Client->getBasePath()
Overview
Get the base path to the website.
Arguments
None
Returns
The absolute path to the root folder of the website.
Example
$objCms = PCMS_Client::getInstance(); $strPath = $objCms->getBasePath();