/media/shnoulle/data/www/master/assets/packages/kcfinder/core/class/browser.php(922)
910 protected function errorMsg($message, ?array $data=null) { 911 if (in_array($this->action, array("thumb", "upload", "download", "downloadDir"))) 912 die($this->label($message, $data)); 913 if (($this->action === null) || ($this->action == "browser")) 914 $this->backMsg($message, $data); 915 else { 916 $message = $this->label($message, $data); 917 die(json_encode(array('error' => $message))); 918 } 919 } 920 921 protected function htmlData($str) { 922 return htmlentities((string) $str, null, strtoupper($this->charset)); 923 } 924 } 925 926 ?>
| #0 |
+
–
/media/shnoulle/data/www/master/assets/packages/kcfinder/core/class/browser.php(922): htmlentities("limesurvey_group_66.lsg", null, "UTF-8") 917 die(json_encode(array('error' => $message))); 918 } 919 } 920 921 protected function htmlData($str) { 922 return htmlentities((string) $str, null, strtoupper($this->charset)); 923 } 924 } 925 926 ?> |
| #1 |
+
–
/media/shnoulle/data/www/master/assets/packages/kcfinder/core/class/browser.php(712): kcfinder\browser->htmlData("limesurvey_group_66.lsg") 707 $message = $this->checkUploadedFile($file); 708 709 if ($message !== true) { 710 if (isset($file['tmp_name'])) 711 @unlink($file['tmp_name']); 712 return $this->htmlData($file['name']) . ": " . $message; 713 } 714 715 $filename = $this->normalizeFilename($file['name']); 716 $target = "$dir/" . file::getInexistantFilename($filename, $dir); 717 |
| #2 |
+
–
/media/shnoulle/data/www/master/assets/packages/kcfinder/core/class/browser.php(301): kcfinder\browser->moveUploadFile(array("name" => "limesurvey_group_66.lsg", "tmp_name" => "/tmp/phpmdECan", "error" => 0), "/media/shnoulle/data/www/master/upload/surveys/797994/images/") 296 $this->errorMsg("Cannot access or write to upload folder."); 297 298 if (is_array($this->file['name'])) { 299 $return = array(); 300 foreach ($this->file['name'] as $i => $name) { 301 $return[] = $this->moveUploadFile(array( 302 'name' => $name, 303 'tmp_name' => $this->file['tmp_name'][$i], 304 'error' => $this->file['error'][$i] 305 ), $dir); 306 } |
| #3 |
+
–
/media/shnoulle/data/www/master/assets/packages/kcfinder/core/class/browser.php(132): kcfinder\browser->act_upload() 127 (substr((string) $act, 0, 8) != "download") && 128 !in_array($act, array("thumb", "upload")) 129 ) 130 header("Content-Type: text/plain; charset={$this->charset}"); 131 132 $return = $this->$method(); 133 echo ($return === true) 134 ? '{}' 135 : $return; 136 } 137 |
| #4 |
+
–
/media/shnoulle/data/www/master/assets/packages/kcfinder/browse.php(18): kcfinder\browser->action() 13 */ 14 15 require "core/bootstrap.php"; 16 $browser = "kcfinder\\browser"; // To execute core/bootstrap.php on older 17 $browser = new $browser(); // PHP versions (even PHP 4) 18 $browser->action(); 19 20 ?> |