MDL-21240 shortened urls now start with / everywhere

This commit is contained in:
Petr Skoda
2010-01-18 20:57:32 +00:00
parent f2ab0d0694
commit 9dec75dbcc
87 changed files with 125 additions and 125 deletions
+2 -2
View File
@@ -866,10 +866,10 @@ class default_questiontype {
$plugindirrel = 'question/type/' . $this->name();
if (file_exists($plugindir . '/script.js')) {
$PAGE->requires->js($plugindirrel . '/script.js');
$PAGE->requires->js('/' . $plugindirrel . '/script.js');
}
if (file_exists($plugindir . '/script.php')) {
$PAGE->requires->js($plugindirrel . '/script.php');
$PAGE->requires->js('/' . $plugindirrel . '/script.php');
}
}