Core/getBasePath

From PunchCMS
Jump to: navigation, search

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