Przeglądaj źródła

reincluded glob_brace - not strato ready

master
Victor Giers 5 lat temu
rodzic
commit
89ab16183a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      index.php

+ 1
- 1
index.php Wyświetl plik

@@ -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);


Ładowanie…
Anuluj
Zapisz