|
@@ -93,7 +93,7 @@ class Upload extends Base
|
|
|
if ($file->checkExt('php,sh')) {
|
|
|
$this->error('可执行文件禁止上传到本地服务器!');
|
|
|
}
|
|
|
- var_dump($_SERVER['DOCUMENT_ROOT']);
|
|
|
+
|
|
|
$headers = [];
|
|
|
$headers[] = 'Content-Type: application/x-www-form-urlencoded';
|
|
|
$res = pdfCurl($_SERVER['DOCUMENT_ROOT'].'/dist/img/bg-1.79910aaf.png');
|