SourceForge logo
SourceForge logo
Menu

phpwiki-checkins

From: Geoffrey T. D. <da...@us...> - 2001年02月14日 22:01:25
Update of /cvsroot/phpwiki/phpwiki
In directory usw-pr-cvs1:/tmp/cvs-serv9783
Modified Files:
	index.php 
Log Message:
Various minor bug fixes and cleanups.
Also added the following new minor featurelets:
 Comments in index.php indicating how to set the PHP include_path if
 necessary.
 New config variable $DisabledActions --- one can list actions (eg. 
 dumpserial) which should not be allowed, even by the administrator.
Index: index.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/index.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** index.php	2001年02月14日 05:22:49	1.9
--- index.php	2001年02月14日 22:02:05	1.10
***************
*** 1,6 ****
 <?php
 /////////////////////////////////////////////////////////////////////
! // Part Zero: Don't touch this!
 /////////////////////////////////////////////////////////////////////
 define ('PHPWIKI_VERSION', '1.3.0pre');
 require "lib/prepend.php";
--- 1,13 ----
 <?php
 /////////////////////////////////////////////////////////////////////
! // Part Zero: If PHP needs help in finding where you installed the
! // rest of the PhpWiki code, you can set the include_path here.
 /////////////////////////////////////////////////////////////////////
+ 
+ //ini_set('include_path', '.:/where/you/installed/phpwiki');
+ 
+ /////////////////////////////////////////////////////////////////////
+ // Part Null: Don't touch this!
+ /////////////////////////////////////////////////////////////////////
 define ('PHPWIKI_VERSION', '1.3.0pre');
 require "lib/prepend.php";
***************
*** 35,38 ****
--- 42,48 ----
 define("MINOR_EDIT_TIMEOUT", 7 * 24 * 3600);
 
+ // Actions listed in this array will not be allowed.
+ //$DisabledActions = array('dumpserial', 'loadfile');
+ 
 /////////////////////////////////////////////////////////////////////
 //
***************
*** 121,128 ****
 define("NUM_RELATED_PAGES", 5);
 
- // This path is searched when trying to read WIKI_PGSRC
- // or template files.
- $DataPath = array(".", "locale/$LANG");
- 
 // Template files (filenames are relative to script position)
 // (These filenames will be passed through gettext() before use.)
--- 131,134 ----
***************
*** 130,134 ****
 		 "EDITPAGE" => "templates/editpage.html",
 		 "MESSAGE" => "templates/message.html");
- 
 
 /* WIKI_PGSRC -- specifies the source for the initial page contents
--- 136,139 ----
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /