Selaa lähdekoodia

Merge branch 'master' of https://gitee.com/ZhongBangKeJi/CRMEB

# Conflicts:
#	crmeb/public/install/templates/step2.php
吴昊天 3 vuotta sitten
vanhempi
commit
43de83a4a3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      crmeb/public/install/templates/step2.php

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

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