From 66b9893ef2ab41e4ca3da8028ac59a3196943945 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 23 Jan 2008 09:22:29 +0000 Subject: [PATCH] Updated function output git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8553 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/functions.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index 80552801c..b043a06f9 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -95,14 +95,14 @@ function __autoload($class_name) { global $class_mapping, $BASE_DIR; if ($class_mapping === NULL){ - echo sprintf(_("Fatal error: no class locations defined - please run '%s' to fix this"), "update-gosa rescan-classes"); + echo sprintf(_("Fatal error: no class locations defined - please run '%s' to fix this"), "update-gosa"); exit; } if (isset($class_mapping[$class_name])){ require_once($BASE_DIR."/".$class_mapping[$class_name]); } else { - echo sprintf(_("Fatal error: cannot instantiate class '%s' - execution aborted"), $class_name); + echo sprintf(_("Fatal error: cannot instantiate class '%s' - try running '%s' to fix this"), $class_name, "update-gosa"); print_a(debug_backtrace()); exit; } -- 2.30.2