By Dixen on
When coding in various *nuke flavors you can grab the filename from the module's code with the following statement:
$module_name = basename(dirname(__FILE__));
Does Drupal have anything similar that one can use?
When coding in various *nuke flavors you can grab the filename from the module's code with the following statement:
$module_name = basename(dirname(__FILE__));
Does Drupal have anything similar that one can use?
Comments
TTT!
Shameless bump...