FIX: add php-ipfs-api as a submodule + dropped useless parameters in URL

This commit is contained in:
Boris Paing 2021-03-15 16:20:16 +01:00
parent 01db6bf9ce
commit 45780aaf9d
2 changed files with 4 additions and 1 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "php-ipfs-api"]
path = php-ipfs-api
url = https://github.com/cloutier/php-ipfs-api

View File

@ -54,7 +54,7 @@ foreach ($videosList as $video) {
echo '<li>';
$href = 'youtube_watch.php?dirHash='. $video['dirHash'] . '&amp;uri='. urlencode($video['uri']) . '&amp;name='. urlencode($video['name']) .'&mime='. $video['mime'];
$href = 'youtube_watch.php?dirHash='. $video['dirHash'] . '&amp;mime='. $video['mime'];
echo '