But is it so uncommon to need to access them when writing snippets or plugins? I needed base_path for the snippet I wrote and it was a pretty simple script.
Quote from: iamdave at Mar 28, 2011, 10:56 PM
But is it so uncommon to need to access them when writing snippets or plugins? I needed base_path for the snippet I wrote and it was a pretty simple script.
You have access to them in any snippet or plugin with:
$modx->getOption('setting_name');
And in any web page with: