From: <jhe...@us...> - 2002-12-05 10:18:57
|
Update of /cvsroot/upcase-project/UpCase In directory sc8-pr-cvs1:/tmp/cvs-serv18541 Modified Files: install.php Log Message: added new tables in xml file, point to packages rep 2 Index: install.php =================================================================== RCS file: /cvsroot/upcase-project/UpCase/install.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** install.php 28 Nov 2002 15:01:52 -0000 1.8 --- install.php 5 Dec 2002 10:18:54 -0000 1.9 *************** *** 1,5 **** <?php ! include_once("./config/uc_tables.inc"); include_once("./lib/adodb/adodb.inc.php"); --- 1,7 ---- <?php + define("ADMINS_GID", "1"); + define("ALL_GID", "2"); ! require_once("./config/uc_tables.inc"); include_once("./lib/adodb/adodb.inc.php"); *************** *** 100,104 **** $query = "INSERT INTO " . $tblprefix . "users (groupid, username, firstname, " . "lastname, email, password, preferred_lang)" ! . " values('0', '" . $admname . "', '" . $admfirst . "', '" . $admlast . "', '" . $admmail . "', '" . $admpasswd . "', 'en')"; --- 102,106 ---- $query = "INSERT INTO " . $tblprefix . "users (groupid, username, firstname, " . "lastname, email, password, preferred_lang)" ! . " values('" . ADMINS_GID . "', '" . $admname . "', '" . $admfirst . "', '" . $admlast . "', '" . $admmail . "', '" . $admpasswd . "', 'en')"; *************** *** 146,149 **** --- 148,153 ---- <table data="users">users</table> <table data="installer">installer</table> + <table data="files">files</table> + <table data="vars">vars</table> </database> *************** *** 171,175 **** $ucConfig = '<?php ! ini_set("include_path", ".:' . $upcaseRoot . ':' . $upcaseRoot . '/config:' . $upcaseRoot . '/lib'); include_once("uc_config.php"); $xmlConf = "' . $upcaseRoot . '/config/upcase.xml"; --- 175,179 ---- $ucConfig = '<?php ! ini_set("include_path", ".:' . $upcaseRoot . ':' . $upcaseRoot . '/config:' . $upcaseRoot . '/lib"); include_once("uc_config.php"); $xmlConf = "' . $upcaseRoot . '/config/upcase.xml"; *************** *** 188,193 **** $uc_info["adminsOnly"] = $msgdir . "/adminsonly.php"; $uc_info["sessionSteal"] = $msgdir . "/sessionsteal.php"; ! $packagesList = "http://galaad/UPCASE/packages/packages.xml"; ! $packagesSource = "http://dev.upcase.be/packages"; define("ADMINS_GID", "1"); define("ALL_GID", "2"); --- 192,196 ---- $uc_info["adminsOnly"] = $msgdir . "/adminsonly.php"; $uc_info["sessionSteal"] = $msgdir . "/sessionsteal.php"; ! $packagesSource = "http://dev.upcase.be/packages2"; define("ADMINS_GID", "1"); define("ALL_GID", "2"); |