Browse Source

修复模块删除卸载问题

tags/6.2.5
tianya 1 year ago
parent
commit
e63c14004a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/system/dedemodule.class.php

+ 1
- 1
src/system/dedemodule.class.php View File

@@ -359,7 +359,7 @@ class DedeModule
$modulefile = $this->modulesPath.'/'.$this->GetHashFile($hashcode);
$fp = fopen($modulefile, 'r') or die("文件 {$modulefile} 不存在或不可读!");
$i = 0;
$dirs = '';
$dirs = array();
while (!feof($fp)) {
$line = fgets($fp, 1024);
if (preg_match("/^[\s]{0,}<file/i", $line)) {


Loading…
Cancel
Save