General developer forum

Access to config vars

Picture of David Romero
Access to config vars


I want to access the config vars ($this->config type) from another file diferent from block_sample.php like sample_form.php. How can I do this?

Also I want to access these config vars from a file which contains a function. What parameters I must have in a function to send to it "$this" from the file block_sample.php?

Thank you very much,


Average of ratings: -