Closed (fixed)
Project:
AMFPHP
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Mar 2008 at 16:20 UTC
Updated:
1 Mar 2009 at 01:00 UTC
Attached is a patch which adds a hook_menu and a settings callback to configure three things:
- CharsetMethod
- Charsetphp
- Charsetsql
The $gateway->setCharsetHandler hardcode values are replaced by variable_get() functions.
This way, we don't need to fiddle with the files and it's easier to configure and test.
I'm using a select box now, I guess we should add more options ? Or maybe just use a textfield.
| Comment | File | Size | Author |
|---|---|---|---|
| settings.patch | 2.19 KB | swentel |
Comments
Comment #1
jody lynnRelated duplicate: #167376: Gateway Charsethandler overridden
Comment #2
snelson commentedI like this ...
I've modified this a bit to add the settings page at: admin/build/services/settings/amfphp, which should be the convention for other server settings pages, and have committed to both D5 and D6 branches.
Thanks,
Scott