Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
Fixed "This image could not be loaded" messages showing in place of f…
Browse files Browse the repository at this point in the history
…ull images
  • Loading branch information
PHLAK committed Mar 11, 2012
1 parent 4e0ff66 commit 25a43ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<?php $files = scandir('galleries'); ?>
<?php foreach ($files as $file): ?>

<?php $dir = realpath('galleries/' . $file); ?>
<?php $dir = 'galleries/' . $file; ?>

<?php if (is_dir($dir) && $file != '.' && $file != '..'): ?>
<h2><?php echo ucwords($file); ?></h2>
Expand Down

0 comments on commit 25a43ed

Please sign in to comment.