Environment.ini
From DISMARC Help
This is the config file which will be generated after the installation process. Most of the values are predefined and there is actually no need to change them. Nevertheless, here is a introduction about the fields.
;<?php die(); ?> [MdmMain] Title = "MetaDataManager" Compress = "gzip" HelpPath = "http://dev.ait.co.at/dismarc/wiki/index.php5/%s" Debugging = "false" [MdmDirectories] WebRoot = "" IdentifyWebRoot = "true" DefaultUrl = "index.php" PortalRoot = "" AjaxGateway = "" DataDir = "" [MdmFactory] App = "STAND_ALONE" Class = "MdmFactory" File = "MdmFactory.php" [MdmDatabase] Hostname = "localhost" Port = "" DBName = "mdm" Username = "root" Password = "" Type = "mysql" Prefix = "mdm_" DSN = "" [MdmShell] PHPBIN = "/usr/bin/php5" ICONVBIN = "/usr/bin/iconv" ZEBRASRVBIN = "/usr/bin/zebrasrv-2.0" ZEBRAIDXBIN = "/usr/bin/zebraidx-2.0" [MdmCollection] Section = "dmCAP" Identifier = "dmCAP-CollectionIdentifier" Title = "dmCAP-Title" DB = 1 IPRLicense = "ipr-License" IPRMailContact = "ipr-MailContact" [MdmObject] Section = "dmOAP" DB = 0 [MdmOAI] Section = "oaiInfo" Identifier = "oai-InternalId" Archive = "oai-Archive" TimeStamp = "oai-DateStamp" Deleted = "oai-Deleted" Collection = "oai-Set" [MdmData] SampleIndex = "dmOAP-Relation-hasSample" PlaylistFields = "dmOAP-Subject-genre|dmOAP-Title|dmOAP-Contributor|dmOAP-Place|dmOAP-Coverage-spatial|dmOAP-Date-dateRecorded|dmOAP-Format-extent-role_playingtimetrack" [MdmUser] defaultUser = "public" defaultTemplate = "default" defaultGroup = "registered" [MdmMails] admin = someone@excample.com content = someone@excample.com
Contents |
MdmMain
These are the default settings for the website.
- Title
- Title of the page
- Compress
- the site will be comressed with this method (currently, only gzip is supported)
- HelpPath
- This is the path to the Help wiki which will be this url ;)
- Debugging
- can the site be debugged with the printDBG and printPHP parameter
MdmDirectories
- WebRoot
- This is de default webroot (i.e. the url of your page). It can be identified by the application but whenever you need it at the shell, this value will be used.
- IdentifyWebRoot
- Shall the WebRoot parameter be calculated or should always be used the WebRoot parameter.
- DefaultUrl
- Whenever you integrate the mdm into a CMS like Joomla! you can define a default url used for all links
- PortalRoot
- this is linked with the DefaultUrl
- AjaxGateway
- For some Ajax calls, a gateway was introduced for which you need the curls extendsion
- DataDir
MdmFactory
In case you want ot integrate the application into another app and need some modifications, you can create and set your own factory here.
- App
- What kind of app is it? STAND_ALONE, JOOMLA
- Class
- the Classname of the factory
- File
- The path to the factory
MdmDatabase
The connection to the database.
- Hostname
- Port
- DBName
- Username
- Password
- Type
- At the moment, just mysql is supported
- Prefix
- DSN
MdmShell
The path to each of the defined binary files.
- PHPBIN
- ICONVBIN
- ZEBRASRVBIN
- ZEBRAIDXBIN
MdmCollection
The collection information
- Section
- Identifier
- Title
- DB
- IPRLicense
- IPRMailContact
MdmObject
the object information
- Section
- DB
MdmOAI
The OAI information is linked with the object information
- Section
- Identifier
- Archive
- TimeStamp
- Deleted
- Collection
- this is actually the OAI-SET
MdmData
Some Metadata related parameters which will be moved to the DescriptionDocument.
- SampleIndex
- PlaylistFields
MdmUser
Default user settings
- defaultUser
- defaultTemplate
- defaultGroup
MdmMails
The mail adresses for the administrators
- admin
- He will receive user specific mails and be used as the sender adress for application mails.
- content
- He will receive the mails related to content like mapping and IPR requests