]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/commit
Restrict the conditions under which we try to load initial page
authordairiki <dairiki@96ab9672-09ca-45d6-a79d-3d69d39ca109>
Mon, 9 Apr 2001 19:31:49 +0000 (19:31 +0000)
committerdairiki <dairiki@96ab9672-09ca-45d6-a79d-3d69d39ca109>
Mon, 9 Apr 2001 19:31:49 +0000 (19:31 +0000)
commitff826899757d1b4e349fc7089e16d9d303134fad
tree061a6c40b699b3369558a4a4dae2149e7bc30c9a
parentc8707291fef8dcf5873639e28690624ea019e45a
Restrict the conditions under which we try to load initial page
contents from pgsrc.

Now we only load pgsrc iff the user is attempt to browse the HomePage.

This allows some hope of fixing things if the configured pgsrc, e.g.
doesn't include a HomePage.  (Without this patch, one gets stuck in a
loop --- every attempt to do anything with the wiki results in a
load of pgsrc.)

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@486 96ab9672-09ca-45d6-a79d-3d69d39ca109
lib/main.php