Is there a variable I can call to read out what is stored in Resource Path found in Administration -> System Configuration -> Interface & Editor Settings?
Like the way [(site_url)] works... can I call this directly into a snippet?
Thanks in advance.
I checked the documentation before I posted, and I couldn’t find what you linked to. I’ve been staring at a screen for so long today, I sailed right past it. I need a coffee!
I am going insane presently. Someone please tell me how I use the equivalent of [(site_url)] in a snippet, I can’t find the reference.
Hi,
I guess it’s :
$modx->config[’site_url’];