MISP (core software) - Open Source Threat Intelligence and Sharing Platform (formely known as Malware Information Sharing Platform) https://www.misp-project.org/
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
658 B

  1. --- lib/Cake/View/MediaView.php.orig 2012-12-12 16:45:24.269525098 +0100
  2. +++ lib/Cake/View/MediaView.php 2012-12-12 16:46:32.173528779 +0100
  3. @@ -78,11 +78,13 @@
  4. $name = $download = $extension = $id = $modified = $path = $cache = $mimeType = $compress = null;
  5. extract($this->viewVars, EXTR_OVERWRITE);
  6. - if (is_dir($path)) {
  7. + // deresz: commented out for compatibility with NCIRC PHP security settings (open_basedir restriction)
  8. +
  9. + //if (is_dir($path)) {
  10. $path = $path . $id;
  11. - } else {
  12. - $path = APP . $path . $id;
  13. - }
  14. + //} else {
  15. + // $path = APP . $path . $id;
  16. + //}
  17. if (!is_file($path)) {
  18. if (Configure::read('debug')) {