bug [structure] "In use" table incorrectly reported as "view"
[phpmyadmin/crack.git] / scripts / convertcfg.pl
blob1b636a161e5255322bdca95d17635cf7fcf49019
1 #!/usr/bin/perl
3 # $Id$
5 # Configuration converter
6 # Converts from old-style (Pre-2.3) configuration files to new format found in PMA-2.3
8 # Takes input from STDIN, sends output to STDOUT
10 # By Robin Johnson robbat2@users.sourceforge.net
11 # Many thanks to Patrick Lougheed pat@tfsb.org
14 while(<>)
15 { s/\$cfg(\w+)/\$cfg\[\'$1\'\]/g;
16 print;