Эх сурвалжийг харах

Update PageController.class.php

star7th 5 жил өмнө
parent
commit
c8200e1290

+ 1 - 1
server/Application/Api/Controller/PageController.class.php

@@ -274,7 +274,7 @@ class PageController extends BaseController {
            return false;
         }
         
-        if (strstr(strip_tags(strtolower($_FILES['editormd-image-file']['name'])), ".php") ) {
+        if (strstr(strip_tags(strtolower($uploadFile['name'])), ".php") ) {
             return false;
         }