Questions tagged [configuration]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
2answers
3k views

Does get_defined_vars() show variables defined in variable_set()?

I'm using Drupal 6, and I'm having problems retrieving a set of variables I set with variable_set() using variable_get(). I'm doing a dpr(get_defined_vars()) to see what's defined, and I don't see my ...
20
votes
3answers
15k views

How do I set a variable in the configuration file setting.php and use it from code?

How do I set a variable in the configuration file setting.php and use it from code?
8
votes
2answers
616 views

Best practice for custom module variable names?

I've gotten into the habit of doing pretty robust configuration panes for my modules now, and I'm finding the variable names & management to be quite the pain. I have variables like ...
80
votes
7answers
9k views

Suggestions for settings.php - Local dev, Development server, Live server

Basically, one of the greatest questions of all time: What are some ways you're using settings.php in your development/staging workflow? Right now, I have my settings.php file set up like the ...

1
11 12 13 14
15