protect the slideshows

skala
Juan Carlos Raña 14 years ago
parent 0808ab2c6c
commit f414729826
  1. 1
      main/document/showinframes.php
  2. 3
      main/document/slideshow.php
  3. 3
      main/document/slideshowoptions.php

@ -27,7 +27,6 @@
$language_file[] = 'document';
require_once '../inc/global.inc.php';
// Protection
api_protect_course_script();
$noPHP_SELF = true;

@ -14,6 +14,9 @@ $language_file = array('slideshow', 'document');
require_once '../inc/global.inc.php';
api_protect_course_script();
$noPHP_SELF = true;
$path = Security::remove_XSS($_GET['curdirpath']);
$pathurl = urlencode($path);

@ -29,6 +29,9 @@ $language_file = array('slideshow', 'document');
require_once '../inc/global.inc.php';
api_protect_course_script();
$path = Security::remove_XSS($_GET['curdirpath']);
$pathurl = urlencode($path);

Loading…
Cancel
Save