浏览代码

Update file_list.php

FusionPBX 2 年之前
父节点
当前提交
07511bee3f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      file_list.php

+ 1 - 0
file_list.php

@@ -53,6 +53,7 @@
 		$dir_handle = opendir($dir);
 		$dir_handle = opendir($dir);
 		$dir_array = array();
 		$dir_array = array();
 		if (($dir_handle)) {
 		if (($dir_handle)) {
+			$x = 0;
 			while (false !== ($file = readdir($dir_handle))) {
 			while (false !== ($file = readdir($dir_handle))) {
 				if ($file != "." AND $file != "..") {
 				if ($file != "." AND $file != "..") {
 					$newpath = $dir.'/'.$file;
 					$newpath = $dir.'/'.$file;