summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 660d329)
raw | patch | inline | side by side (parent: 660d329)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 30 Oct 2008 15:21:45 +0000 (15:21 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 30 Oct 2008 15:21:45 +0000 (15:21 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12832 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/functions.inc | patch | blob | history |
index 6cb2ede0581e9d969b690b0e3f9a09c4036f3cf8..562a48f60f79069d4c4d1c583926089965e217bf 100644 (file)
exit;
}
- if (isset($class_mapping[$class_name])){
- require_once($BASE_DIR."/".$class_mapping[$class_name]);
+ if (isset($class_mapping["$class_name"])){
+ require_once($BASE_DIR."/".$class_mapping["$class_name"]);
} else {
echo sprintf(_("Fatal error: cannot instantiate class '%s' - try running '%s' to fix this"), $class_name, "<b>update-gosa</b>");
exit;