[ 'key' => 'iksop', 'secret' => '8htoiwn44g204th' ], 'endpoint' => 'https://s3.infra.flowdat.com/minio/login', 'use_path_style_endpoint' => true, 'region' => 'sa-east-1', 'version' => 'latest',]); $adapter = new AwsS3Adapter($client, 'comparaciones'); $filesystem = new Filesystem($adapter); $path = $_GET["path"]; $contents = $filesystem->listContents("/"); $dirs = array(); foreach($contents as $cont){ $dirs[] = $cont["path"]; } $dirs = array_reverse($dirs); echo ""; echo ""; for ($i=0; $i'; } echo "
Lista de Commits
'.$dir.'
"; if($path == ""){ echo "

Seleccionar un commit

"; } else{ echo "

Comp commit: " . $path . "

"; echo ""; $files = array(); $fscont = $filesystem->listContents("/".$path, true); foreach($fscont as $cont){ if($cont["type"] === "file"){ $files[] = $cont["path"]; } } echo ""; for ($i=0; $i"; $num = $files[$i]; echo '\n"; } echo ""; echo "
random image'."  
"; }