I've been playing around with AMFPHP in Drupal 6, and found a bug in the hook_server function, in which the path to pull the AMFPHP files is relative instead of absolute, which caused the module to fail regularly.
Attached is a patch to change the path to an absolute path, no matter how the module is installed.
| Comment | File | Size | Author |
|---|---|---|---|
| amfphp.patch | 579 bytes | Brandonian |
Comments
Comment #1
jody lynnIt looks like just adding './' before drupal_get_path is the usual way modules handle it.
Comment #2
jody lynnI added the change to my patch for HEAD in #219365: AMFPHP for DRUPAL 6 comment #30
Comment #3
tamatama commentedfor basic users I found the line to edit in amfphp folder root, called amfphp.module, may save you 5 minutes