[ Index ]

PHP Cross Reference of Mambo 4.6.5

[ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/ -> configuration.sample.php (source)

   1  <?php
   2  /**
   3  * @package Mambo
   4  * @author Mambo Foundation Inc see README.php
   5  * @copyright (C) 2000 - 2009 Mambo Foundation Inc.
   6  * See COPYRIGHT.php for copyright notices and details.
   7  * @license GNU/GPL Version 2, see LICENSE.php
   8  *
   9  * Redistributions of files must retain the above copyright notice.
  10  *
  11  * Mambo is free software; you can redistribute it and/or
  12  * modify it under the terms of the GNU General Public License
  13  * as published by the Free Software Foundation; version 2 of the
  14  * License.
  15  *
  16  * -------------------------------------------------------------------------
  17  * If you are installing Mambo manually i.e. not using the web installer
  18  * then rename this file to configuration.php e.g.
  19  *
  20  * UNIX -> mv configuration.sample.php configuration.php
  21  * Windows -> rename configuration.sample.php configuration.php
  22  *
  23  * Now edit this file and configure the parameters for your site and
  24  * database.
  25  * -------------------------------------------------------------------------
  26  * Database configuration section
  27  * -------------------------------------------------------------------------
  28  */
  29  $mosConfig_offline = '0';
  30  $mosConfig_host = 'localhost';    // This is normally set to localhost
  31  $mosConfig_user = '';            // MySQL username
  32  $mosConfig_password = '';        // MySQL password
  33  $mosConfig_db = '';                // MySQL database name
  34  $mosConfig_dbprefix = 'mos_';    // Do not change unless you need to!
  35  /**
  36  * -------------------------------------------------------------------------
  37  * Site specific configuration
  38  * -------------------------------------------------------------------------
  39  */
  40  $mosConfig_absolute_path = '/path/to/mambo/install';    // No trailing slash
  41  $mosConfig_live_site = 'http://www.your_mambo_site.com';    // No trailing slash.  Make sure to use www.
  42  $mosConfig_sitename = 'Mambo';        // Name of Mambo site
  43  $mosConfig_shownoauth = '1';                // Display links & categories users don't have access to
  44  $mosConfig_useractivation = '1';            // Send new registration passwords via e-mail
  45  $mosConfig_uniquemail = '1';                // Require unique email adress for each user
  46  $mosConfig_usecaptcha = '0';                // Enable form captcha security
  47  $mosConfig_offline_message = 'This site is down for maintenance.<br /> Please check back again soon.';
  48  $mosConfig_lifetime = '900';                 // Session time
  49  $mosConfig_MetaDesc = 'Mambo - the dynamic portal engine and content management system';
  50  $mosConfig_MetaKeys = 'mambo, Mambo, Mambo, Mambo';
  51  $mosConfig_MetaTitle = '1';
  52  $mosConfig_MetaAuthor = '1';
  53  $mosConfig_debug = '0';
  54  $mosConfig_lang = 'english';                        // Site language
  55  $mosConfig_locale = 'en';
  56  $mosConfig_charset = 'utf-8';
  57  $mosConfig_offset = '0';                // Local time offset
  58  $mosConfig_locale_debug = '0';
  59  $mosConfig_locale_use_gettext = '0';
  60  $mosConfig_hideAuthor = '0';
  61  $mosConfig_hideCreateDate = '0';
  62  $mosConfig_hideModifyDate = '0';
  63  $mosConfig_hidePdf = '0';
  64  $mosConfig_hidePrint = '0';
  65  $mosConfig_hideEmail = '0';
  66  $mosConfig_enable_log_items = '0';
  67  $mosConfig_enable_log_searches = '0';
  68  $mosConfig_enable_stats = '0';
  69  $mosConfig_sef = '0';
  70  $mosConfig_vote = '0';
  71  $mosConfig_gzip = '0';
  72  $mosConfig_multipage_toc = '0';
  73  $mosConfig_allowUserRegistration = '1';
  74  $mosConfig_error_reporting = '-1';
  75  $mosConfig_register_globals = '1';
  76  $mosConfig_error_message = 'This site is temporarily unavailable.<br />Please contact your System Administrator.';
  77  $mosConfig_link_titles = '0';
  78  $mosConfig_list_limit = '50';
  79  $mosConfig_caching = '0';
  80  $mosConfig_cachepath = '/path/to/mambo/install/cache';
  81  $mosConfig_cachetime = '900';
  82  $mosConfig_mailer = 'mail';
  83  $mosConfig_mailfrom = '';
  84  $mosConfig_fromname = '';
  85  $mosConfig_sendmail = '/usr/sbin/sendmail';
  86  $mosConfig_smtpauth = '0';
  87  $mosConfig_smtpuser = '';
  88  $mosConfig_smtppass = '';
  89  $mosConfig_smtphost = 'localhost';
  90  $mosConfig_back_button = '0';
  91  $mosConfig_item_navigation = '1';
  92  $mosConfig_secret = 'FBVtggIk5lAzEU9H'; //Change this to something more secure
  93  $mosConfig_pagetitles = '1';
  94  $mosConfig_readmore = '1';
  95  $mosConfig_hits = '1';
  96  $mosConfig_icons = '1';
  97  $mosConfig_favicon = 'favicon.ico';
  98  $mosConfig_fileperms = '';
  99  $mosConfig_dirperms = '';
 100  $mosConfig_mbf_content='0';
 101  $mosConfig_helpurl = 'http://docs.mambo-foundation.org';
 102  setlocale (LC_TIME, $mosConfig_locale);            // Country locale
 103  ?>