Explorar o código

判断文件权限

吴昊天 %!s(int64=3) %!d(string=hai) anos
pai
achega
08a5cad533
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      crmeb/public/install/templates/step2.php

+ 0 - 1
crmeb/public/install/templates/step2.php

@@ -146,7 +146,6 @@
                 <?php
                 foreach ($file as $filename) {
                     $filedir = APP_DIR . $filename;
-                    @fopen($filedir, "w");
                     if (testwrite($filedir)) {
                         $w = '<span class="correct_span">&radic;</span>可写 ';
                     } else {