I am developing a module, trying to use $modx->config[’base_path’] to load a config file.
the module executes, but generates a runtime error
in the system events log it says:
Undefined variable: base_path
is there a different call I should use. I tried $modx->config[’site_url’] and $modx->config{’base_url’].
neither of those calls generate a runtime error, but both generate PHP errors relating to the file not existing.
I am developing under MODx 0.9.5 beta (rev 1392).
If this is a bug under that revision, I will upgrade, but I would rather not potentially add more problems at this point.
I am sure I am just missing something simple.
-sD-