From da7935ef842abb7abb7d9fac9ea54f704101a075 Mon Sep 17 00:00:00 2001 From: Marc MAURICE Date: Sun, 12 Dec 2010 22:54:09 +0100 Subject: [PATCH] Now bizou works with no plugin at all. I will add the viewer plugin. --- index.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/index.php b/index.php index 2f66ac7..61f5579 100644 --- 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 ); -- 1.7.10.4