User login

Seeing the variable table / $conf array... and the invisible/latent settings configuration variables

Searched words: 
drupal 7 see variables conf

the $conf variable --

http://api.drupal.org/api/drupal/developer--globals.php/global/conf/7

Tip To be sure to always have logging to the screen enabled in your test environment, you can add this to your local settings.php file: $conf['error_level'] = 2; // Set what level of warning and error messages are sent to the screen. You can see what values are presently in the variable table with debug($conf). However, variables which have never had their settings form saved – which are still at their default value – will not show up in the table or the $conf array. Instead, the fastest way to determine what the name of a configuration variable that is still using its unset default is to print out its settings page form

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Syntax highlight code surrounded by the {syntaxhighlighter SPEC}...{/syntaxhighlighter} tags, where SPEC is a Syntaxhighlighter options string or "class="OPTIONS" title="the title".
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.