Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // $Id: config.inc.php 2632 2013-01-03 21:41:38Z cimorrison $
- /**************************************************************************
- * MRBS Configuration File
- * Configure this file for your site.
- * You shouldn't have to modify anything outside this file
- * (except for the lang.* files, eg lang.en for English, if
- * you want to change text strings such as "Meeting Room
- * Booking System", "room" and "area").
- **************************************************************************/
- /**********
- * Timezone
- **********/
- // The timezone your meeting rooms run in. It is especially important
- // to set this if you're using PHP 5 on Linux. In this configuration
- // if you don't, meetings in a different DST than you are currently
- // in are offset by the DST offset incorrectly.
- //
- // Note that timezones can be set on a per-area basis, so strictly speaking this
- // setting should be in areadefaults.inc.php, but as it is so important to set
- // the right timezone it is included here.
- //
- // When upgrading an existing installation, this should be set to the
- // timezone the web server runs in. See the INSTALL document for more information.
- //
- // A list of valid timezones can be found at http://php.net/manual/timezones.php
- // The following line must be uncommented by removing the '//' at the beginning
- //$timezone = "Europe/London";
- $timezone = "Asia/Kuwait";
- /*******************
- * Database settings
- ******************/
- // Which database system: "pgsql"=PostgreSQL, "mysql"=MySQL,
- // "mysqli"=MySQL via the mysqli PHP extension
- $dbsys = "mysql";
- // Hostname of database server. For pgsql, can use "" instead of localhost
- // to use Unix Domain Sockets instead of TCP/IP.
- $db_host = "localhost";
- // Database name:
- $db_database = "mrbs";
- // Database login user name:
- $db_login = "root";
- // Database login password:
- $db_password = 'qwerty';
- // Prefix for table names. This will allow multiple installations where only
- // one database is available
- $db_tbl_prefix = "mrbs_";
- // Uncomment this to NOT use PHP persistent (pooled) database connections:
- // $db_nopersist = 1;
- # *********************************/
- $mrbs_admin = "Your Administrator";
- $mrbs_admin_email = "root@test.benvin.net";
- $mrbs_company_logo = "alshaya.gif";
- $mrbs_company = "M.H. Alshaya Co";
- $vocab_override['en']['mrbs'] = "Meeting Room Booking System";
- $default_view = "month";
- $default_room = 1;
- $working_days = array(0,1,2,3,4);
- $morningstarts = 7; // must be integer in range 0-23
- $morningstarts_minutes = 0; // must be integer in range 0-59
- #$eveningends = 14; // must be integer in range 0-23
- #$eveningends_minutes = 30; // must be integer in range 0-59
- #$resolution = 1800;
- $approval_enabled = TRUE;
- $confirmation_enabled = FALSE;
- $confirmed_default = FALSE;
- $theme = "classic126";
- $twentyfourhour_format = 1;
- /* Add lines from systemdefaults.inc.php and areadefaults.inc.php below here
- to change the default configuration. Do _NOT_ modify systemdefaults.inc.php
- or areadefaults.inc.php. */
- #$auth["admin"][] = "ROOT";
- #$auth["session"] = "http";
- #$auth["type"] = "none";
- #$auth["user"]["ROOT"] = "REDHAT";
- $auth["session"] = "php";
- $auth["type"] = "ldap";
- require_once "language.inc";
- $ldap_host = "ads.testad.local";
- $ldap_port = 389;
- # If you want to use LDAP v3, change the following to true
- $ldap_v3 = false;
- # If you want to use TLS, change following to true
- $ldap_tls = false;
- # LDAP base distinguish name
- # See AUTHENTICATION for details of how check against multiple base dn's
- $ldap_base_dn = "ou=mrbs,dc=testad,dc=local";
- # Attribute within the base dn that contains the username
- #$ldap_user_attrib = "uid";
- $ldap_user_attrib = "sAMAccountName";
- $ldap_dn_search_dn = "CN=ben,ou=mrbs,dc=testad,dc=local";
- $ldap_dn_search_password = "P@ssw0rd";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement