tbl_move_copy
[phpmyadmin/crack.git] / scripts / convertcfg.pl
blob3dcf97228f722f6b631a135b74406db4d79badcd
1 #!/usr/local/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;