Updated comments.
Added configuration converter file.
This commit is contained in:
@@ -10,6 +10,9 @@ $Source$
|
||||
|
||||
2002-04-24 Robin Johnson <robbat2@users.sourceforge.net>
|
||||
* *.php3 NOT tbl_*.php, Documentation.*: $cfg system changes.
|
||||
* scripts/extchg.sh: Updated URL
|
||||
* scripts/convertcfg.pl: Conversion between old config files and new ones.
|
||||
* scripts/*: Updated comments somewhat
|
||||
|
||||
2002-04-23 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* tbl_printview.php3, lang/*.php3: Relation links in printview,
|
||||
|
19
scripts/convertcfg.pl
Executable file
19
scripts/convertcfg.pl
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/usr/local/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
|
||||
#
|
||||
# By Robin Johnson robbat2@users.sourceforge.net
|
||||
# Many thanks to Patrick Lougheed pat@tfsb.org
|
||||
#
|
||||
|
||||
while(<>)
|
||||
{ s/\$cfg(\w+)/\$cfg\[\'$1\'\]/g;
|
||||
print;
|
||||
}
|
||||
|
||||
|
@@ -1,4 +1,9 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# Script to remove ^M from files for DOS <-> UNIX conversions
|
||||
#
|
||||
|
||||
if [ $# != 1 ]
|
||||
then
|
||||
|
Reference in New Issue
Block a user