[Phpmyadmin-devel] config.inc.php generator: a suggestion
    Olivier Mueller 
    om-lists-phpmyadmin at omx.ch
       
    Fri Jan 14 20:19:23 CET 2005
    
    
  
Hello,
I've tested a few things today, here is a little something
to (re-)open the discussion :)  I think it would be nice if PMA
would have a simple configuration generator, like in many
other projects: 
What about something simple like that? :     
   http://www.phpmyadmin.net/swix_pma/setup/
Scoll to the end of the page to find the [generate] button.
It's based on the orginal Documentation.html, with
some special "cfgen" tags, which are simply parsed
by the setup/index.php script.  (look at the .html source of
the original http://www.phpmyadmin.net/swix_pma/Documentation.html )
source:  http://www.phpmyadmin.net/swix_pma/setup/index.phps
and http://www.phpmyadmin.net/swix_pma/setup/generate.phps
The generate.php script needs a special version
of the config.inc.php files (with lines like:
"$cfg['blowfish_secret'] = '%%blowfish_secret%%'; ")
Do you think something like that would be good? 
Is that the right way?  Feedback welcome :)
regards & have a nice week-end,
Olivier
-- 
_______________________________________________________
 Olivier Müller - PGP key ID: 0x0E84D2EA - Switzerland 
    E-Mail: http://omx.ch/mail/ - AIM/iChat: swix3k
    
    
More information about the Developers
mailing list