ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

$assign_to_config['global_vars'] Does not work

May 31, 2011 11:44pm

Subscribe [2]
  • #1 / May 31, 2011 11:44pm

    truthnews

    37 posts

    I am trying to use the feature where you can assign global variables in the index.php file,
    eg:

    $assign_to_config['global_vars'] = $my_global_vars;

    (where $my_global_vars is an associative array)

    I am finding that the global vars are not being set, and a low level debug reveals that the array passed to the _set_overrides() function is missing the added values.

    Cheers!

    EE v2.1.3

  • #2 / May 31, 2011 11:55pm

    truthnews

    37 posts

    Actually i think i have now resolved this problem. It was caused by my mistaken understanding.

  • #3 / Jun 01, 2011 10:11am

    Sue Crocker

    26054 posts

    No worries, glad you were able to figure out what the problem was. If anything else comes up, please do let us know in a new thread..

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases