mirror of
https://github.com/typemill/typemill.git
synced 2025-08-01 11:50:28 +02:00
Merge branch 'master' of https://github.com/typemill/typemill
This commit is contained in:
@@ -105,8 +105,7 @@ class ProcessAssets
|
||||
public function setFileName($originalname, $type, $overwrite = NULL)
|
||||
{
|
||||
$pathinfo = pathinfo($originalname);
|
||||
|
||||
$this->extension = strtolower($pathinfo['extension']);
|
||||
$this->extension = isset($pathinfo['extension']) ? strtolower($pathinfo['extension']) : null;
|
||||
$this->filename = Folder::createSlug($pathinfo['filename']);
|
||||
|
||||
$filename = $this->filename;
|
||||
|
Reference in New Issue
Block a user