[Index]    [Classes]    [Variables]

PHP Cross Reference of Joomla 1.5.6 Documentation

title

Body

[close]

/ -> configuration.php-dist (source)

   1  <?php
   2  /**
   3  * @version        $Id: configuration.php-dist 9991 2008-02-05 22:13:22Z ircmaxell $
   4  * @package        Joomla
   5  * @copyright    Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
   6  * @license        GNU/GPL, see LICENSE.php
   7  * Joomla! is free software and parts of it may contain or be derived from the
   8  * GNU General Public License or other free or open source software licenses.
   9  * See COPYRIGHT.php for copyright notices and details.
  10  *
  11  * -------------------------------------------------------------------------
  12  * THIS SHOULD ONLY BE USED AS A LAST RESORT WHEN THE WEB INSTALLER FAILS
  13  *
  14  * If you are installing Joomla! manually i.e. not using the web browser installer
  15  * then rename this file to configuration.php e.g.
  16  *
  17  * UNIX -> mv configuration.php-dist configuration.php
  18  * Windows -> rename configuration.php-dist configuration.php
  19  *
  20  * Now edit this file and configure the parameters for your site and
  21  * database.
  22  */
  23  class JConfig {
  24      /**
  25      * -------------------------------------------------------------------------
  26      * Site configuration section
  27      * -------------------------------------------------------------------------
  28      */
  29      /* Site Settings */
  30      var $offline = '0';
  31      var $offline_message = 'This site is down for maintenance.<br /> Please check back again soon.';
  32      var $sitename = 'Joomla!';            // Name of Joomla site
  33      var $editor = 'tinymce';
  34      var $list_limit = '20';
  35      var $legacy = '0';
  36  
  37      /**
  38      * -------------------------------------------------------------------------
  39      * Database configuration section
  40      * -------------------------------------------------------------------------
  41      */
  42      /* Database Settings */
  43      var $dbtype = 'mysql';                    // Normally mysql
  44      var $host = 'localhost';                // This is normally set to localhost
  45      var $user = '';                            // MySQL username
  46      var $password = '';                        // MySQL password
  47      var $db = '';                            // MySQL database name
  48      var $dbprefix = 'jos_';                    // Do not change unless you need to!
  49  
  50      /* Server Settings */
  51      var $secret = 'FBVtggIk5lAzEU9H';         //Change this to something more secure
  52      var $gzip = '0';
  53      var $error_reporting = '-1';
  54      var $helpurl = 'http://help.joomla.org';
  55      var $xmlrpc_server = '1';
  56      var $ftp_host = '';
  57      var $ftp_port = '';
  58      var $ftp_user = '';
  59      var $ftp_pass = '';
  60      var $ftp_root = '';
  61      var $ftp_enable = '';
  62      var $tmp_path    = '/tmp';
  63      var $log_path    = '/var/logs';
  64      var $offset = '0';
  65      var $live_site = '';                     // Optional, Full url to Joomla install.
  66  
  67      /* Session settings */
  68      var $lifetime = '15';                    // Session time
  69      var $session_handler = 'database';
  70  
  71      /* Mail Settings */
  72      var $mailer = 'mail';
  73      var $mailfrom = '';
  74      var $fromname = '';
  75      var $sendmail = '/usr/sbin/sendmail';
  76      var $smtpauth = '0';
  77      var $smtpuser = '';
  78      var $smtppass = '';
  79      var $smtphost = 'localhost';
  80  
  81      /* Cache Settings */
  82      var $caching = '0';
  83      var $cachetime = '15';
  84      var $cache_handler = 'file';
  85  
  86      /* Debug Settings */
  87      var $debug      = '0';
  88      var $debug_db     = '0';
  89      var $debug_lang = '0';
  90  
  91      /* Meta Settings */
  92      var $MetaDesc = 'Joomla! - the dynamic portal engine and content management system';
  93      var $MetaKeys = 'joomla, Joomla';
  94      var $MetaTitle = '1';
  95      var $MetaAuthor = '1';
  96  
  97      /* SEO Settings */
  98      var $sef = '0';
  99      var $sef_rewrite = '0';
 100      var $sef_suffix = '';
 101  
 102      /* Feed Settings */
 103      var $feed_limit   = 10;
 104  }
 105  ?>