From: cajus Date: Tue, 30 Mar 2010 15:32:31 +0000 (+0000) Subject: Fixed regex X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=91e25880974f35947930122da73b5d89bd779cdc;p=gosa.git Fixed regex git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17412 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/update-gosa b/gosa-core/update-gosa index 25a5dab2d..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\/[^\/]+\/images/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)) {