Difference between revisions of "Core/setBasePath"
From PunchCMS
(New page: __NOTOC__ ==== PCMS_Client->setBasePath(path) ==== === Overview === Set the base path of the website. This overrides the value from the singleton method. === Arguments === '''value''' [str...) |
(No difference)
|
Latest revision as of 22:32, 25 December 2008
PCMS_Client->setBasePath(path)
Overview
Set the base path of the website. This overrides the value from the singleton method.
Arguments
value [string]
Base path to the root folder of the website.
Returns
Nothing.
Example
$objCms = PCMS_Client::getInstance(); $strPath = $objCms->setBasePath("/var/www/website/");