Explorar o código

Update 'DiskInfo/opr.php'

Yeung Alan %!s(int64=6) %!d(string=hai) anos
pai
achega
6046f23bb4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      DiskInfo/opr.php

+ 1 - 1
DiskInfo/opr.php

@@ -14,7 +14,7 @@ if(isset($filter[1])){
 
 if($ok == false){
 	if(strcasecmp(substr(PHP_OS, 0, 3), 'WIN') == 0){
-		$binary = "./bin/smartctl";
+		$binary = "cd bin && smartctl";
 	}else{
 		if(strpos(exec('uname -m'), 'arm') !== false){
 			$binary = "sudo ./smartctl_armv6";