Recent Changes - Search:

PITS main list

edit sidebar

Main sidebar

PmWiki

pmwiki.org

00548

Summary: pmwiki.php calls exit intead of return when done, which makes it impossible to include from another file. See Cookbook.IncludeAble
Created: 2005-09-30 23:53
Status: Closed - added for 2.0.12
Category: Feature
Assigned:
Priority: 5
Version: 2.0.6
OS:

Description: My suggestion is that the following patch be applied

--- pmwiki.php 24 Sep 2005 14:56:47 -0000 1.1 +++ pmwiki.php 1 Oct 2005 04:49:28 -0000 -276,7 +276,7

 SDV($HandleAuth[$action], 'read');
 $HandleActions[$action]($pagename, $HandleAuth[$action]);
 Lock(0);

-exit; +return;

 ## helper functions
 function stripmagic($x)
Edit - History - Print - Recent Changes - Search
Page last modified on September 10, 2011, at 11:56 AM