[solved] Get uploads_path inside a UDT?
Posted: Sat May 03, 2014 2:27 am
Anyone know how to get the full server paths like "uploads_path" or "root_path" inside a UDT?
Thanks.
Thanks.
Content management as it is meant to be
https://forum.cmsmadesimple.org/
Code: Select all
$gCms = cmsms();
$config = $gCms->getConfig();
// now you can access config values in your UDT like:
// $config["uploads_path"]
// $config["root_path"]
// etc.