From 84b9dd993dcc34b3ca8931bbfda3e9a3bb607617 Mon Sep 17 00:00:00 2001 From: Charles Severance Date: Thu, 14 Nov 2013 22:51:15 -0500 Subject: [PATCH] Small tweakage. --- lms.php | 2 +- lti.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lms.php b/lms.php index 91c4444fe2..aa59cd6561 100644 --- a/lms.php +++ b/lms.php @@ -78,7 +78,7 @@ function findTools($dir, &$retval) { ); $lmsdata = array( - "custom_assn" => "mod/map/map.php", + "custom_assn" => "mod/map/index.php", "lis_person_name_full" => 'Jane Instructor', "lis_person_name_family" => 'Instructor', diff --git a/lti.php b/lti.php index c624c73e50..bea61c590e 100644 --- a/lti.php +++ b/lti.php @@ -51,7 +51,6 @@ $url = 'mod/php-intro/custom.php'; if ( isset($_POST['custom_assn'] ) ) { $url = $_POST['custom_assn']; - if ( strpos($url, 'mod/') === false ) $url = 'mod/php-intro/'.$url.'.php'; // Compatiblity $_SESSION['assn'] = $_POST['custom_assn']; }