Merge commit 'd4094baa56060e0813e09112fa03b3bbcef69e9a'
[phpmyadmin.git] / scripts / convertcfg.pl
blob69010fde0c632577b09b8bddcc0531f173935b02
1 #!/usr/bin/perl
4 # Configuration converter
5 # Converts from old-style (Pre-2.3) configuration files to new format found in PMA-2.3
7 # Takes input from STDIN, sends output to STDOUT
10 while(<>)
11 { s/\$cfg(\w+)/\$cfg\[\'$1\'\]/g;
12 print;