Browse Source

reincluded glob_brace - not strato ready

master
Victor Giers 5 years ago
parent
commit
89ab16183a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      index.php

+ 1
- 1
index.php View File

@@ -34,7 +34,7 @@

<?php
$dir ="pics";
$images = glob("$dir/*");
$images = glob("$dir/*.{jpg,png,bmp}", GLOB_BRACE); //strato version doesnt check for imagetype!!!

$js_images = json_encode($images);


Loading…
Cancel
Save