I create my own glue module for my site, and I want to define the path to another site as a global constant. Is there any drupal way to do this without setting the define () operator at the top of my module?
Use variable_get and variable_set .
If the glue module is really intended for only one site, and this is not a problem, if it is hard-coded, in any case, hard-coded it.
There are many constants in Drupal core modules: http://api.drupal.org/api/constants/7
, , .