repo.or.cz
/
phpmyadmin
/
gandalfml.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Translation update done using Pootle.
[phpmyadmin/gandalfml.git]
/
scripts
/
convertcfg.pl
blob
69010fde0c632577b09b8bddcc0531f173935b02
1
#!/usr/bin/perl
2
#
3
#
4
# Configuration converter
5
# Converts from old-style (Pre-2.3) configuration files to new format found in PMA-2.3
6
#
7
# Takes input from STDIN, sends output to STDOUT
8
#
9
10
while
(<>)
11
{
s/\$cfg(\w+)/\$cfg\[\'$1\'\]/g
;
12
print
;
13
}
14
15