From 80e30f25943c2bc98cdc7844d8dc93a6f4980916 Mon Sep 17 00:00:00 2001 From: skodak Date: Sun, 17 May 2009 17:07:54 +0000 Subject: [PATCH] MDL-12212 fixed missing globals --- lib/setuplib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/setuplib.php b/lib/setuplib.php index cbdaeb476d..61b478be35 100644 --- a/lib/setuplib.php +++ b/lib/setuplib.php @@ -208,6 +208,8 @@ function initialise_fullme() { * This is a private method for use by initialise_fullme. */ function initialise_fullme_cli() { + global $CFG, $FULLME, $ME, $SCRIPT, $FULLSCRIPT; + // Urls do not make much sense in CLI scripts $backtrace = debug_backtrace(); $topfile = array_pop($backtrace); -- 2.39.5