mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 17:22:20 +09:00
Disallow directly downloadable swf uploads in layout module
This commit is contained in:
parent
eb5bff0fb3
commit
d47aea0aba
2 changed files with 2 additions and 2 deletions
|
|
@ -1019,7 +1019,7 @@ class layoutModel extends layout
|
|||
);
|
||||
|
||||
$image_path = $this->getUserLayoutImagePath($layout_srl);
|
||||
$image_list = FileHandler::readDir($image_path,'/(.*(?:swf|jpg|jpeg|gif|bmp|png)$)/i');
|
||||
$image_list = FileHandler::readDir($image_path,'/\.(?:jpg|jpeg|gif|bmp|png)$/i');
|
||||
|
||||
foreach($image_list as $image)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue