--- /Users/brandonmorrison/Desktop/amfphp/amfphp.module 2008-02-27 15:11:47.000000000 -0500 +++ /Users/brandonmorrison/Sites/patch/amfphp/amfphp.module 2008-10-10 16:02:19.000000000 -0400 @@ -37,7 +37,7 @@ function amfphp_server_info() { * here we include the contents of a gateway.php */ function amfphp_server() { - $path = drupal_get_path('module', 'amfphp'); + $path = $_SERVER['DOCUMENT_ROOT'] . base_path() . drupal_get_path('module', 'amfphp'); define("PRODUCTION_SERVER", variable_get('services_debug', FALSE)); require_once $path . "/amfphp/globals.php";