install.php changes

fireball-toeWGPj/1oVWk0Htik3J/[email protected] Sun, 01 Sep 2002 15:59:59 -0500 (CDT)
Newsgroups gmane.comp.web.envolution.devel
Message-ID <[email protected]>
Ok, I noticed something kind of weird and there's better and smaller way to do 
it. Here's my sugestion:

from 
if(!isset($prefix)) {
	include_once 'config.php';

	$prefix = $pnconfig['prefix'];
	$dbtype = $pnconfig['dbtype'];
	$dbhost = $pnconfig['dbhost'];
	$dbuname = $pnconfig['dbuname'];
	$dbpass = $pnconfig['dbpass'];
	$dbname = $pnconfig['dbname'];
	$system = $pnconfig['system'];
	$encoded = $pnconfig['encoded'];   
}

to
if(!isset($prefix)) {
	include_once 'config.php';

	extract($pnconfig);
}

It basically does the same thing with less lines of code and it looks cleaner 
to me. It also seems to work just as well as the old way. :-)

Thanks,
Jay