Merge branch 'image' of https://github.com/Avans/Security-Workshop into image
This commit is contained in:
commit
866f5328a9
3 files changed
+2
-1
No files matched your search
@@ -5,6 +5,7 @@ echo
|
||||
cd /home/security/workshop
|
||||
|
||||
# Update repository
|
||||
git clean -f
|
||||
git pull origin master
|
||||
|
||||
# Update Apache configuration
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 429 KiB |
+1
-1
@@ -25,7 +25,7 @@ if($_FILES) {
|
||||
<div class="header">The <em>meest recente</em> plaatjes van vandaag:</div>
|
||||
<?php
|
||||
foreach ( glob('uploads/*') as $image ) {
|
||||
echo '<a href="image.php?file='.$image.'"><img src="'.$image.'"></a>';
|
||||
echo '<a href="'.$image.'"><img src="'.$image.'"></a>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user