Move your code to the right place and it will start working correctly. :) Seriously though, the module framework in Drupal was designed so that you didn't need to do clumsy hacks like that in 99% of all scenarios. Learn how to do things the right way and you will save yourself a LOT of hassle. -Cameron On Mon, May 31, 2010 at 10:56 PM, Dayton Perkins <perkinsd@chartermi.net> wrote:
I really don't need any more work to do, yet I am considering finishing and submitting a module to drupal..org. The module relies on mime_mail and provides a UI to mail a node to a subscriber list. It utilizes an AJAX script to loop through the subscriber list and send each mail. Currently the module is a bit of a hack as the AJAX script resides in the docroot. I would like advice as to how to place the script in the module folder and still invoke drupal_bootstrap() without file path errors. Thanks so much :-)
Dayton Perkins Tuesday, June 01, 2010