http://atutor.ca/atutor/mantis/view.php?id=4196
authorharris wong <hwong@ocad.ca>
Mon, 20 Dec 2010 17:39:22 +0000 (17:39 -0000)
committerharris wong <hwong@ocad.ca>
Mon, 20 Dec 2010 17:39:22 +0000 (17:39 -0000)
docs/include/classes/UrlRewrite/UrlRewrite.class.php

index 465db66..9718746 100644 (file)
@@ -325,15 +325,24 @@ class UrlRewrite  {
                //map the paths.
         //TODO: Add regex into the path, ie. /social/* means all folders under social.
         $hmap = array (
+                    '/backups'      =>  'mods/_core',
                     '/content'      =>  'mods/_core',
+                    '/enrolment'       =>      'mods/_core',
+                    '/file_manager'    =>      'mods/_core',
                     '/glossary'                =>      'mods/_core',
                     '/groups'          =>      'mods/_core',
                     '/imscp'           =>      'mods/_core',
+                    '/properties'      =>      'mods/_core',
+                    '/announcements'=> 'mods/_standard',
+                    '/assignments'  => 'mods/_standard',
                     '/blogs'           =>      'mods/_standard',
                     '/chat'                    =>      'mods/_standard',
+                    '/chat/manage'     =>      'mods/_standard',
+                    '/course_tools'    =>      'mods/_standard',
                     '/directory'       =>      'mods/_standard',
                     '/faq'                     =>      'mods/_standard',
                     '/file_storage'    =>      'mods/_standard',
+                    '/forums'      =>  'mods/_standard',
                     '/forums/forum'    =>      'mods/_standard',
                     '/google_search'=> 'mods/_standard',
                     '/gradebook'       =>      'mods/_standard',