Files
phpmyadmin/scripts/convertcfg.pl
Dieter Adriaenssens 16ed06531a remove author names
2010-06-28 20:36:12 +02:00

17 lines
254 B
Perl
Executable File

#!/usr/bin/perl
#
# $Id$
#
# Configuration converter
# Converts from old-style (Pre-2.3) configuration files to new format found in PMA-2.3
#
# Takes input from STDIN, sends output to STDOUT
#
while(<>)
{ s/\$cfg(\w+)/\$cfg\[\'$1\'\]/g;
print;
}