This website works better with JavaScript.
Home
Help
Register
Sign In
giers10
/
overdose
Watch
1
Star
0
Fork
0
Code
Issues
1
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
reincluded glob_brace - not strato ready
master
Victor Giers
5 years ago
parent
f036a7acfd
commit
89ab16183a
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
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);
Write
Preview
Loading…
Cancel
Save