mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
substr_compare() 사용에 대한 보완
This commit is contained in:
parent
833d218a66
commit
4d9e68b9e4
5 changed files with 20 additions and 4 deletions
|
|
@ -697,6 +697,7 @@ class layoutAdminController extends layout
|
|||
if(!Context::isUploaded()) exit();
|
||||
$file = Context::get('file');
|
||||
if(!is_uploaded_file($file['tmp_name']) || !checkUploadedFile($file['tmp_name'])) exit();
|
||||
|
||||
if(substr_compare($file['name'], '.tar', -4) !== 0) exit();
|
||||
|
||||
$layout_srl = Context::get('layout_srl');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue