From 74a9181f5606fd059a550e2639bf600a698f50c2 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 19 Sep 2007 07:15:20 +0000 Subject: [PATCH] Step between the lines... git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7322 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/functions.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/functions.inc b/include/functions.inc index 2280628a1..5f31e35bd 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -100,7 +100,7 @@ function get_dir_list($folder= ".") // Skip . / .. // Result : from 1023 ms to 490 ms i think thats great... - if(preg_match("/.*\.svn.*/i",$file)||preg_match("/.*smarty.*/i",$file)||preg_match("/.*\.tpl.*/",$file)||($file==".")||($file=="..")) + if(preg_match("/.*\.svn.*/",$file)||preg_match("/.*smarty.*/i",$file)||preg_match("/.*\.tpl.*/",$file)||($file==".")||($file=="..")) continue; @@ -111,7 +111,7 @@ function get_dir_list($folder= ".") } /* Include existing class_ files */ - if (!is_dir($file) && preg_match("/^class_.*\.inc$/", $file)) { + if (preg_match("/^class_.*\.inc$/", $file)) { require_once($file); } } -- 2.30.2