From fb472da0ba7237b0d9a7a1dde5dd71ff51f87c3b Mon Sep 17 00:00:00 2001 From: Andy Staudacher Date: Fri, 3 Jul 2009 16:11:17 -0700 Subject: 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 --- modules/gallery/helpers/gallery_task.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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; } -- cgit v1.2.3