From: Steve W. <wai...@us...> - 2001-04-06 18:21:39
|
Update of /cvsroot/phpwiki/phpwiki/lib In directory usw-pr-cvs1:/tmp/cvs-serv31384/lib Modified Files: config.php main.php Log Message: Did find-grep to replace all occurances of FrontPage to HomePage. Index: config.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/config.php,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -r1.37 -r1.38 *** config.php 2001/03/14 19:48:29 1.37 --- config.php 2001/04/06 18:21:37 1.38 *************** *** 198,202 **** // In this case, the proper virtual path is still // $SCRIPT_NAME, since pages appear at ! // e.g. /dir/index.php/FrontPage. global $REQUEST_URI, $SCRIPT_NAME; --- 198,202 ---- // In this case, the proper virtual path is still // $SCRIPT_NAME, since pages appear at ! // e.g. /dir/index.php/HomePage. global $REQUEST_URI, $SCRIPT_NAME; *************** *** 213,220 **** // redirect page requests to a cgi-handler. // ! // In cases like this, requests for e.g. /wiki/FrontPage // get redirected to a cgi-script called, say, // /path/to/wiki/index.php. The script gets all ! // of /wiki/FrontPage as it's PATH_INFO. // // The problem is: --- 213,220 ---- // redirect page requests to a cgi-handler. // ! // In cases like this, requests for e.g. /wiki/HomePage // get redirected to a cgi-script called, say, // /path/to/wiki/index.php. The script gets all ! // of /wiki/HomePage as it's PATH_INFO. // // The problem is: *************** *** 226,230 **** // passed to '/wikidir/index.php'. In this case, the // proper VIRTUAL_PATH is '/wikidir/index.php', since the ! // pages will appear at e.g. '/wikidir/index.php/FrontPage'. // --- 226,230 ---- // passed to '/wikidir/index.php'. In this case, the // proper VIRTUAL_PATH is '/wikidir/index.php', since the ! // pages will appear at e.g. '/wikidir/index.php/HomePage'. // Index: main.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/main.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** main.php 2001/02/28 20:54:18 1.10 --- main.php 2001/04/06 18:21:37 1.11 *************** *** 39,43 **** return urldecode(fix_magic_quotes_gpc($QUERY_STRING)); ! return gettext("FrontPage"); } --- 39,43 ---- return urldecode(fix_magic_quotes_gpc($QUERY_STRING)); ! return gettext("HomePage"); } *************** *** 97,102 **** $dbi = OpenDataBase($WikiPageStore); ! // if there is no FrontPage, create a basic set of Wiki pages ! if ( ! IsWikiPage($dbi, gettext("FrontPage")) ) { include_once("lib/loadsave.php"); --- 97,102 ---- $dbi = OpenDataBase($WikiPageStore); ! // if there is no HomePage, create a basic set of Wiki pages ! if ( ! IsWikiPage($dbi, gettext("HomePage")) ) { include_once("lib/loadsave.php"); |