summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-07-03 16:11:17 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-07-03 16:11:17 -0700
commitfb472da0ba7237b0d9a7a1dde5dd71ff51f87c3b (patch)
treee6ada9fee51aad5510c72f82b28cf6344856d62d
parentbafbe5a2d2848d6de3e758f4e5de4385c4dc7542 (diff)
Ignore lib/ folders in l10n_scanner task.
1. Because it makes sense. 2. As a quick fix - For some reason it wouldn't work properly anymore now with the HTMLPurifier lib
-rw-r--r--modules/gallery/helpers/gallery_task.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/gallery_task.php b/modules/gallery/helpers/gallery_task.php
index 2493c49e..1152cda2 100644
--- a/modules/gallery/helpers/gallery_task.php
+++ b/modules/gallery/helpers/gallery_task.php
@@ -109,7 +109,7 @@ class gallery_task_Core {
case "find_files": // 0% - 10%
while (($dir = array_pop($dirs)) && microtime(true) - $start < 0.5) {
- if (basename($dir) == "tests") {
+ if (in_array(basename($dir), array("tests", "lib"))) {
continue;
}