X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fupdate-gosa;h=2e54a2aa91df52e7754e3796cd2081bbfb45c1cb;hb=c43524917fc25e1a281c3b4c4db1dcf5821ff60b;hp=c94fe9809fc0b7fc9212729fc86ed57d57cf831b;hpb=df3177a78e02405a97d25858a968833a99548755;p=gosa.git diff --git a/gosa-core/update-gosa b/gosa-core/update-gosa index c94fe9809..2e54a2aa9 100755 --- a/gosa-core/update-gosa +++ b/gosa-core/update-gosa @@ -551,7 +551,7 @@ function rescan_images($path, $theme) // We're only interested in png files $indexPath= substr($fileInfo->getPathname(), $baseLength + 1); $path= $fileInfo->getPathname(); - if (preg_match('/\.png$/', $indexPath) && !preg_match('/\.svn/', $path) && !preg_match('/themes\/[^\/]+\/img.png$/', $path)){ + if (preg_match('/\.png$/', $indexPath) && !preg_match('/\.svn/', $path) && !preg_match('/themes\/[^\/]+\/images\/img.png$/', $path)){ // Grey image if it is not already one if (preg_match('/grey/', $indexPath)) { @@ -739,7 +739,7 @@ function rescan_images($path, $theme) $styles[$imagePath]= $styles[$realPath]; } - imagePNG($dst, "html/themes/$theme/img.png", 9); + imagePNG($dst, "html/themes/$theme/images/img.png", 9); imageDestroy($dst); // Show warnings images