tweaking path after the move of tools/ to mods/
authorgreg gay <ggay@ocad.ca>
Tue, 9 Feb 2010 20:14:31 +0000 (20:14 -0000)
committergreg gay <ggay@ocad.ca>
Tue, 9 Feb 2010 20:14:31 +0000 (20:14 -0000)
docs/mods/_core/imscc/ims_export.php
docs/mods/_core/imscp/ims_export.php
docs/mods/_core/imscp/ims_import.php

index 238ea4a..5a4ce57 100644 (file)
@@ -57,7 +57,7 @@ if (isset($_REQUEST['to_tile']) && !isset($_POST['cancel'])) {
        $course_id = $_SESSION['course_id'];
 }
 //load the following after vitals is included
-require(AT_INCLUDE_PATH.'classes/testQuestions.class.php');
+require(AT_INCLUDE_PATH.'../mods/_standard/tests/classes/testQuestions.class.php');
 require(AT_INCLUDE_PATH.'../mods/_core/imsafa/classes/A4aExport.class.php');
 require(AT_INCLUDE_PATH.'../mods/_core/imscc/classes/Weblinks.class.php');
 require(AT_INCLUDE_PATH.'../mods/_core/imscc/classes/WeblinksExport.class.php');
index 80d095a..99ee83b 100644 (file)
@@ -81,7 +81,7 @@ require(AT_INCLUDE_PATH.'../mods/_core/imscp/include/ims_template.inc.php');
 
 if (isset($_POST['cancel'])) {
        $msg->addFeedback('EXPORT_CANCELLED');
-       header('Location: ../index.php');
+       header('Location: ../content/index.php');
        exit;
 }
 
index 0789b64..0fe6238 100644 (file)
@@ -655,7 +655,7 @@ if (!isset($_POST['submit']) && !isset($_POST['cancel'])) {
 } else if (isset($_POST['cancel'])) {
        $msg->addFeedback('IMPORT_CANCELLED');
 
-       header('Location: ./index.php');
+       header('Location: ../content/index.php');
        exit;
 }