From: <jhe...@us...> - 2002-11-21 15:20:17
|
Update of /cvsroot/upcase-project/UpCase/admin In directory sc8-pr-cvs1:/tmp/cvs-serv8286 Modified Files: installer.php Log Message: use return value of UcInstaller->install() for redirection. So, packages that provide installation scripts are handled the same way as those that uses the upcase installer Index: installer.php =================================================================== RCS file: /cvsroot/upcase-project/UpCase/admin/installer.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** installer.php 20 Nov 2002 16:20:31 -0000 1.7 --- installer.php 21 Nov 2002 15:20:14 -0000 1.8 *************** *** 78,83 **** die("You MUST specify a tables prefix"); $inst->saveMetaData($package); ! $inst->install($package, $pkgRelUrl, $tblPrefix); ! header("Location: " . $siteUrl . "/" . $pkgRelUrl); } else if ($operation == "uninstall") --- 78,83 ---- die("You MUST specify a tables prefix"); $inst->saveMetaData($package); ! $redirect = $inst->install($package, $pkgRelUrl, $tblPrefix); ! header("Location: " . $redirect); } else if ($operation == "uninstall") |