2025-01-20 09:57:35
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user