projects
/
bizou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee26ad3
)
Now bizou works with no plugin at all. I will add the viewer plugin.
author
Marc MAURICE
<dooblempub@positon.org>
Sun, 12 Dec 2010 21:54:09 +0000
(22:54 +0100)
committer
Marc MAURICE
<dooblempub@positon.org>
Sun, 12 Dec 2010 21:54:09 +0000
(22:54 +0100)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index
2f66ac7
..
61f5579
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-119,9
+119,6
@@
foreach (scandir($realDir) as $file) if ($file != '.' and $file != '..')
{
$ext = strtolower(substr($file, -4));
if ($ext == ".jpg" or $ext == ".png") {
- if (USE_VIEWER)
- $link = dirname($scriptUrlPath)."/view.php$shortPath/$file";
- else
$link = dirname($scriptUrlPath)."/$realDir/$file";
$imageFiles[] = array( "name" => $file, "url" => getPreview("$realDir/$file"), "link" => $link );