Per-domain properties (php version, variables etc)
|
Author |
Message |
kilburn
Development Team
    
Posts: 2,182
Joined: Feb 2007
Reputation: 34
|
RE: Per-domain properties (php version, variables etc)
ispcomm, you may exploit the fact that the last declaration of the same key in php.ini is what php will use. Given this, you may:
-) Add a "domain_hosting_props" table (domain_id, scope, key, value) so ie the "register_globals" setting would end up here as (XX, 'php', 'register_globals', 'On').
-) Modify the engine to add all the defined 'php' domain props at the end of the generated php.ini (simply appending them would work)
-) Modify the GUI so admins (maybe resellers) can set up any php configuration key
-) Allow the user to change some keys, like 'display_errors' or 'register_globals' maybe.
|
|
06-29-2008 06:12 AM |
|
User(s) browsing this thread: 1 Guest(s)