Core/getBasePath

From PunchCMS
Revision as of 22:31, 25 December 2008 by Admin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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();