]> git.mjollnir.org Git - moodle.git/commitdiff
Added $CFG->pagepath so that the Moodle Doc URLs are generated properly for
authorvyshane <vyshane>
Thu, 9 Mar 2006 07:53:14 +0000 (07:53 +0000)
committervyshane <vyshane>
Thu, 9 Mar 2006 07:53:14 +0000 (07:53 +0000)
this section.

mod/lesson/action/addbranchtable.php
mod/lesson/action/addpage.php

index 2a9c9d411f090ca3d9eb28fc9be11635caf8ecad..01a2babd589e2f113e01b7b619b7b20d57d5c994 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 /************** add branch table ************************************/
+    $CFG->pagepath = 'mod/lesson/addbranchtable';
+    
     if (!isteacher($course->id)) {
         error("Only teachers can look at this page");
     }
index 12cb0cc438bd975311dc8bf53dbcae9a515c7ce4..cef9ef0c65c24b149c5a7e5e92838e0ccc0ee167 100644 (file)
@@ -1,7 +1,8 @@
 <?php
 
 /************** add page ************************************/
-
+    $CFG->pagepath = 'mod/lesson/addpage';
+    
     if (!isteacher($course->id)) {
         error("Only teachers can look at this page");
     }