[Phpmyadmin-devel] Config import proposal
michal at cihar.com
Thu Sep 8 06:25:06 CEST 2005
On Thu 8. 9. 2005 14:57, Marc Delisle wrote:
> I agree with your first idea. We could even do this: at run time, if
> config.inc.php is not there, try to create it from config.default.php
> and inform the user if it works or if it fails (could fail because of
> safe mode restrictions or just permission problems).
Why to create it? We can just work when file is not existing. Creating
file will anyway fail in most cases.
> This way, we keep the current behavior that a default PMA
> installation works immediately without doing anything, permitting to
> connect to a default MySQL installation with root and no password
What is quite usual configuration on devel machines :-).
> Note that at some places in the code we set some parts of $cfg
> dynamically based on the MySQL version, but this should not be a
This is done anyway somewhere later.
> Let's not forget also config.inc.developer.php :)
Yes: Let's not forget to remove also config.inc.developer.php :)
> See also
I'm currently (finally) working on new import system. I guess I could
get to configuration stuff just after that. I have quite lot of time
for coding right now as I'm ill at home ;-).
Michal Čihař | http://cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the Developers