strato ready now (no glob_brace)

This commit is contained in:
2019-03-02 06:32:42 +01:00
parent 2f35355ffd
commit f036a7acfd
2 changed files with 5 additions and 2 deletions

View File

@@ -34,8 +34,10 @@
<?php
$dir ="pics";
$images = glob("$dir/*.{jpg,png,bmp}", GLOB_BRACE);
$images = glob("$dir/*");
$js_images = json_encode($images);
echo "let imagePaths = ". $js_images . ";\n";
?>
@@ -141,7 +143,7 @@
}
function mouseClicked(){
pause = !pause;
if(!loading) pause = !pause;
}
var shuffle = function (array) {

1
pics Symbolic link
View File

@@ -0,0 +1 @@
/home/giers/Bilder & Videos/Rechtsklick