You are viewing tutorials for Composr CMS version 11. Click here for version 10 tutorials.
We apologize for the instability of composr.app and appreciate your patience. We are working on the statistics addon and trying to find an optimal way to store and render data. Unfortunately, we have yet to find a solution that can handle the traffic (and therefore, tens of millions of statistical records) of composr.app. We're working hard on one.
Function __global->getcwd
Definitions
sources_custom/phpstub.php
Gets the current working directory.
Visibility: public
Is abstract?: No
Is static?: No
Is final?: No
Returns: string
Returns
The cwd
Type: PATH
Set: N/A
Range: N/A
Preview
Code (PHP)
/**
* Gets the current working directory.
*
* @return PATH The cwd
*/ functiongetcwd(): string