[Phpmyadmin-devel] problem in PMA_ConfigTest
michal at cihar.com
Wed Mar 5 17:00:02 CET 2014
Dne Wed, 5 Mar 2014 20:20:37 +0530
Minhaz A V <minhazav at gmail.com> napsal(a):
> config.inc.php does not exist in pMA by default so what's the purpose of
> testing for the same?
It does not have to exist - phpMyAdmin is supposed to work even without
it. So it's valid scenario to test.
> If we replace it by config.sample.inc.php which exists, we can test for
> file permissions!
> behavior of config.sample.inc.php will be similar to how config.inc.php
> will behave in real scenario!
Yes, this can be another thing to test. Still it should not be done on
global object, but local one which you create for testing.
Michal Čihař | http://cihar.com | http://phpmyadmin.net
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: not available
More information about the Developers