2025-01-20 09:57:35

This commit is contained in:
2025-01-20 09:57:40 +08:00
parent d9288c61a8
commit f47916fdbf
10 changed files with 1069 additions and 793 deletions

View File

@@ -139,6 +139,7 @@ function getstr_random($length = 4) {
}
function getImage($filename, $width = -1, $height = -1, $type = 1, $savedir = 'allimg', $baseurl = '') {
// ini_set('memory_limit',-1);
$docDir = request()->server('DOCUMENT_ROOT');
$rootDir = request()->root();
if ($width < 0 && $height < 0) {