What variables are available for use in my PHP code that indicate the directory in which directory Drupal is installed?
Thank you.
Mitch
In a module:
<?php ... global $base_path; ... ?>
Also, the phptemplate theme engine exports the $base_path variable, to which you have access in your template files (i.e. page.tpl.php).
Victor Kane http://awebfactory.com.ar
On 5/31/07, Mitch Wander Mitch@mytroops.com wrote:
What variables are available for use in my PHP code that indicate the directory in which directory Drupal is installed?
Thank you.
Mitch
-- [ Drupal support list | http://lists.drupal.org/ ]