Now bizou works with no plugin at all. I will add the viewer plugin.
This commit is contained in:
parent
ee26ad3354
commit
da7935ef84
1 changed files with 0 additions and 3 deletions
|
@ -119,9 +119,6 @@ foreach (scandir($realDir) as $file) if ($file != '.' and $file != '..')
|
||||||
{
|
{
|
||||||
$ext = strtolower(substr($file, -4));
|
$ext = strtolower(substr($file, -4));
|
||||||
if ($ext == ".jpg" or $ext == ".png") {
|
if ($ext == ".jpg" or $ext == ".png") {
|
||||||
if (USE_VIEWER)
|
|
||||||
$link = dirname($scriptUrlPath)."/view.php$shortPath/$file";
|
|
||||||
else
|
|
||||||
$link = dirname($scriptUrlPath)."/$realDir/$file";
|
$link = dirname($scriptUrlPath)."/$realDir/$file";
|
||||||
|
|
||||||
$imageFiles[] = array( "name" => $file, "url" => getPreview("$realDir/$file"), "link" => $link );
|
$imageFiles[] = array( "name" => $file, "url" => getPreview("$realDir/$file"), "link" => $link );
|
||||||
|
|
Loading…
Reference in a new issue