From a2c28054b87d6991a2e2181d6302dbba2fa41e41 Mon Sep 17 00:00:00 2001 From: vyshane Date: Thu, 16 Mar 2006 04:55:43 +0000 Subject: [PATCH] Added $CFG->pagepath to the blocks_execute_action() function for the config action. This is used to generate the Moodle Docs URL for configuration of an instance of a block. --- lib/blocklib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/blocklib.php b/lib/blocklib.php index b69c18e38f..5ca1802ce6 100644 --- a/lib/blocklib.php +++ b/lib/blocklib.php @@ -470,6 +470,7 @@ function blocks_execute_action($page, &$pageblocks, $blockaction, $instanceorid, echo ''; echo ''; + $CFG->pagepath = 'blocks/' . $block->name; print_footer(); die(); // Do not go on with the other page-related stuff } -- 2.39.5