00548: pmwiki.php calls exit intead of return when done, which makes it impossible to include from another file. See Cookbook.IncludeAble

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)