1
0
mirror of https://github.com/typemill/typemill.git synced 2025-08-06 22:26:32 +02:00

Version 1.4.7: Fixes noresize for images

This commit is contained in:
trendschau
2021-07-21 21:21:43 +02:00
parent 8d82be9400
commit 5bb455e7ac
4 changed files with 4 additions and 10 deletions

View File

@@ -31,6 +31,8 @@ class ProcessAssets
public function __construct($desiredSizes = NULL)
{
ini_set('memory_limit', '512M');
$this->baseFolder = getcwd() . DIRECTORY_SEPARATOR;
$this->mediaFolder = $this->baseFolder . 'media' . DIRECTORY_SEPARATOR;
@@ -48,8 +50,6 @@ class ProcessAssets
$this->fileFolder = $this->mediaFolder . 'files' . DIRECTORY_SEPARATOR;
$this->desiredSizes = $desiredSizes;
ini_set('memory_limit', '1024M');
}
public function checkFolders($forassets = null)