Merged pathinfo fix from stable

This commit is contained in:
moodler 2004-11-04 07:00:12 +00:00
parent 0a23fdb759
commit 9b74055f4b

View File

@ -826,7 +826,7 @@ function get_slash_arguments($file='file.php') {
$pathinfo = explode($file, $string);
if (!empty($pathinfo[1])) {
return $pathinfo[1];
return addslashes($pathinfo[1]);
} else {
return false;
}