Skip to content

Commit 0794321

Browse files
committed
upload img fix
1 parent 0af6c4d commit 0794321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php-test/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
while ($file = readdir($handle)) {
3232
if ($file !== 'index.php') {
3333
if ($file !== '.' && $file !== '..') {
34-
echo '<img class="img-upload" src="' . $file . '" border="0" />';
34+
echo '<img class="img-upload" src="./php-test/' . $file . '" border="0" />';
3535
}
3636
}
3737
}

0 commit comments

Comments
 (0)