Browse Source

Upload files to 'Photo'

Yeung Alan 5 years ago
parent
commit
7547a4300b
1 changed files with 2 additions and 2 deletions
  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];