소스 검색

Upload files to 'Photo'

Yeung Alan 6 년 전
부모
커밋
7547a4300b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      Photo/Image_manager.php

+ 2 - 2
Photo/Image_manager.php

@@ -8,7 +8,7 @@ if(isset($_GET["bkend"])){
 			foreach ($intdirs as &$intdir) {
 				preg_match('/storage\/([^\/]*)/', $intdir, $out_storage);
 				$tmp = [];
-				$tmp["name"] = "Internal - ".hex2bin($out_storage[1]);
+				$tmp["name"] = "Internal - ".$out_storage[1];
 				$tmp["dir"] = "../../../Photo/".$intdir."/";
 				$tmp["drive"] = "internal";
 				$tmp["storage"] = $out_storage[1];
@@ -24,7 +24,7 @@ if(isset($_GET["bkend"])){
 						preg_match('/\/media\/([^\/]*)\//', $extdir, $out_storage);
 						preg_match('/Photo\/([^\/]*)/', $extdir, $out_storage);
 						$tmp = [];
-						$tmp["name"] = $out_storage[1]." - ".hex2bin($out_storage[1]);
+						$tmp["name"] = $out_storage[1]." - ".$out_storage[1];
 						$tmp["dir"] = $extdir."/";
 						$tmp["drive"] = $out_storage[1];
 						$tmp["storage"] = $out_storage[1];