summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b53849f)
raw | patch | inline | side by side (parent: b53849f)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 19 Sep 2007 07:15:20 +0000 (07:15 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 19 Sep 2007 07:15:20 +0000 (07:15 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7322 594d385d-05f5-0310-b6e9-bd551577e9d8
include/functions.inc | patch | blob | history |
diff --git a/include/functions.inc b/include/functions.inc
index 2280628a1ee1846286037ea8d8ea1f689cc3679d..5f31e35bda9b34809f796c730760e97b7eaf0da4 100644 (file)
--- a/include/functions.inc
+++ b/include/functions.inc
// 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;
}
/* Include existing class_ files */
- if (!is_dir($file) && preg_match("/^class_.*\.inc$/", $file)) {
+ if (preg_match("/^class_.*\.inc$/", $file)) {
require_once($file);
}
}