Hallo, danke für Deine Antwort.
Ja, eine config.inc.php im Verzeichnis src wurde angelegt. Ich habe die default-config genommen und mit meinen Parametern gefüllt.
Eine Kopie des Inhalts hängt hinten an, die sensiblen Daten wurden geändert.
Gruß Gerd
config.inc.php
–-----------------
$g_config = array (
"base_dir" => $g_absdir.DIRECTORY_SEPARATOR,
"www_dir" => "/",
"override_host" => false,
"sess_time" => 1800,
"theme" => "default",
"startpage" => "index.php",
"debugging" => false,
"bugreport" => false,
"forum" => false,
"show_proc_time"=> true,
"smarty_debug_host" => "localhost", // "" to reach the debugging control from everywhere
"encoding" => "latin1",
"adminpass" => "123",
"show_barcodes" => false,
"ajax_calls" => true,
"wiki_url" => "",
"db_type" => "mysql",
"enable_rt" => false
);
/* Correct path - do NOT delete this line! */
$g_config["www_dir"] = rtrim($g_config["www_dir"], "/")."/";
/* Activate reports in menu-tree */
//$g_reports["www_dir"] = "/irm/";
/**
* This login is used for the i-doit administration gui. Note that an empty password will not work.
* Leave the password empty to disable the admin center.
*
* Syntax: "username" => "password"
*/
$g_admin_auth = array(
"admin" => "123",
);
/* Set default timezone */
date_default_timezone_set('Europe/Berlin');
// WWW-Path for the Report Browser
$g_report_browser_www = "http://reports-ng.i-doit.org/";
/* Defines, which object types are software types - separated by semicolon
(alphanumeric object-type constant, defined in objtype configuration) */
define("C__SOFTWARE", "C__OBJTYPE__APPLICATION;C__OBJTYPE__SERVICE;C__OBJTYPE__OPERATING_SYSTEM;C__OBJECT_TYPE__GROUP");
/* Attaches LDAP users automatically to these group ids (comma-separated)
- Only one group is also possible
- Only group IDs will work, e.g. 15 for admin. Contacts->Groups for more */
define("C__LDAP__GROUP_IDS", "");
/* Activate LDAP Debugging into i-doit/temp/ldap_debug.txt:
- http://doc.i-doit.org/wiki/LDAP#Debug */
define("C__LDAP__DEBUG", true); // true/false - default:false
/* Maximum amount of objects which are loaded into the tree of the object browser,
the browser will not load at all if limit is reached. */
define("C__TREE_MAX_OBJECTS", 1500); // Numeric value
/**
* Quickinfo configuration
* Default: "active" => true,
* "delay" => "0.5",
* "class" => "objectinfo"
*/
$g_quickinfo = array(
"active" => true,
"delay" => "0.5",
"class" => "objectinfo"
);
/**
- @desc Directory configuration
- –-----------------------------------------------------------------------
* Array of required global directory structure, the rest is read
* and set by the system registry. NOTE: You should NOT modify this!
* FILE MANAGER SETTINGS
*
* Modify them in order to control the file manager, downloads and
* uploads. target_dir must be absolute and tailed by /, furthermore,
* your apache-user (normally www-data) needs full access rights (RWX)
* to this directory. temp_dir is /tmp/ on UNIX systems, otherwise
* configure it here manually for Win.
* The image_dir is used for the uploaded object images www-data needs also
* full access here
*/
$g_dirs = array (
"css_abs" => $g_config["base_dir"] . "src/themes/" . $g_config["theme"] . "/css/",
"js_abs" => $g_config["base_dir"] . "src/tools/js/",
"temp" => $g_config["base_dir"] . "temp/",
"class" => $g_config["base_dir"] . "src/classes/",
"import" => $g_config["base_dir"] . "src/classes/import/",
"handler" => $g_config["base_dir"] . "src/handler/",
"temp_www" => $g_config["www_dir"] . "temp/",
"images" => $g_config["www_dir"] . "images/",
"theme_images" => $g_config["www_dir"] . "src/themes/" . $g_config["theme"] . "/images/",
"fileman" =>
array(
"target_dir" => $g_config["base_dir"]."upload/files/",
"temp_dir" => $g_config["base_dir"]."temp/",
"image_dir" => $g_config["base_dir"]."upload/"
),
);
/**
* @desc Suffix schema for connector siblings
* @uses ##INPUT## => Title of assigned input
/
$g_connector_suffix_schema = array(
"##INPUT## - OUT",
"- ##INPUT##",
"() ##INPUT##",
);
/**
* @desc Check for unique user inputs in properties
* true => check enabled
* false => check disabled
*/
$g_unique_check = array(
"ip_address" => false,
"hostname" => false,
"object_title" => false
);
/**
* @desc Mail configuration
*
* smtp-host: Your smtp hostname
* port: The port of your smtp server
* from: E-Mail address of the sender
* name: Name of the sender
* sub-prefix: Subject prefix of all messages
*
*/
$g_mail = array ( "smtp-host" => "mail.server.org",
"port" => 25,
"from" => "info@i-doit.de",
"name" => "i-doit",
"sub-prefix" => "");
/**
* (Workflow)-Notifications , HTML allowed
/
/ Message for an outdated maintenance contract */
define("C__WORKFLOW_MSG__MAINTENANCE",
"Your maintenance contract: %s timed out.\n\n".
"Contract information:\n".
"Start: %s\n".
"End: %s\n".
"Support-Url: %s\n".
"Contract-Number: %s\n".
"Customer-Number: %s");
/**
- Contact Notifications
*/
/**
* Password message
*
* Variables:
* %FIRSTNAME%, %LASTNAME%, %PASSWORD%, %EMAIL%, %COMMENT%, %USERNAME%, %USERID%
*/
define("C__CONTACT_MSG__PASSWORD",
"Hello %FIRSTNAME% %LASTNAME%, \n\n".
"Your password has been changed to: %PASSWORD%\n".
"\n\n".
"Regards,\n".
"i-doit system");
/**
- @desc JobControlSystem (JCS) Settings
- –-----------------------------------------------------------------------
- Variables for the Job Control System. Please care, that crontab_path is
- writable by the apache user, so the i-doIT Framework can write its
- changes. On Windows, the crontab file MUST be in the system32-directory,
- since the CRON Service can only read from this path. On Unix-systems,
- you should make a soft link from /etc/cron.d/i-doit or whatever your
- cron directory is to webroot/i-doit/cron/crontab. Also make sure, that
- you are allowed to use the crontab command, normally you must write
- your username into /etc/cron.allow
- The JCS user must have admin rights to the i-doIT system!
- Default values:
- "username" => "jcsUser",
- "password" => "jcsPassword",
- Only for Windows systems:
- "crontab_path" => "C:/WINDOWS/system32/crontab",
- "cronwin_path" => "C:/WINDOWS/system32/crons.exe",
- Only Unix systems
- "crontab_path" => "/etc/cron.d/i-doit", // CRONTAB File path
- "croncmd_path" => "/usr/bin/crontab", // CRONTAB Control program
- i-doIT doesn't try to automatically evaluate the process ID of crond,
- enter the path into cronunix_pid
- For dow: (0=sunday,...,7=saturday)
- "cronunix_pid" => "/var/run/crond.pid"
- "default" => array(
* "hour" => 10,
* "minute" => 30,
* "dow" => 0)
*/
$g_jcs = array(
"username" => "jcsUser",
"password" => "jcsPassword",
"crontab_path" => "C:/WINDOWS/system32/crontab",
"cronwin_path" => "C:/WINDOWS/system32/crons.exe",
"default" => array(
"hour" => 10,
"minute" => 30,
"dow" => 0)
);
/**
- @desc Database configuration
-
* This configuration is for the system database. Don't forget to use
* mySQL with the InnoDB table-driver. Only TCP/IP Hosts are
* supported here, not UNIX domain sockets!
*/
$g_db_system = array(
"type" => $g_config["db_type"],
"host" => "localhost",
"port" => 3306,
"user" => "db_user",
"pass" => "db_pass",
"name" => "db_database"
);
/**
* @desc Proxy
* –------------------------------------------------------------------------
* Proxy configuration
*/
$g_proxy = array(
"active" => false,
"host" => "www.i-doit.org",
"port" => "8080",
"user" => "user",
"pass" => "password"
);
/**
* @desc SOAP
* --------------------------------------------------------------------------
* SOAP Settings - i.e. for the i-doIT Info center category
*/
$g_soap = array(
"url" => "http://dev.synetics.de/idic/provider.php",
"user" => "user",
"pass" => "passwort"
);
/**
* @desc Workflow specific configuration
*/
$g_workflows = array (
"max_checklist_entries" => 7 // How many tasks for one checklist
// should be shown in checklist overview?
);
?>