[ Index ]
 

Code source de Plume CMS 1.2.2

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/manager/conf/ -> config.php-dist (source)

   1  <?php
   2  // Configuration file. Make the change to match your config
   3  
   4  // Database informations
   5  $_PX_config['db']['db_server']    = 'localhost'; // Server
   6  $_PX_config['db']['db_database']  = 'plume'; // Name of the database
   7  $_PX_config['db']['db_login']     = 'root'; // User/login to the database
   8  $_PX_config['db']['db_password']  = ''; // Password
   9  $_PX_config['db']['db_type']      = 'mysql'; // Type of database engine
  10  $_PX_config['db']['table_prefix'] = 'plume_'; // Prefix on the tables to access them
  11                                                // (if you want 2 installations of PLUME CMS in the same database)
  12  
  13  /* Version of the database engine */
  14  $_PX_config['db_version'] = '';
  15  
  16  // Some other informations
  17  $_PX_config['lang']  = 'en'; // Default language (fr or en available with default install)
  18  $_PX_config['encoding'] = 'utf-8'; // If one of your sites may use other languages than the
  19                                          // Western ones, please chose 'UTF-8'. Do not change this
  20                                          // value without knowing the impact! All your output pages
  21                                          // will have this encoding.
  22  $_PX_config['content_format'] = 'html'; //default format of the content, including descriptions
  23  
  24  // you don't need to look starting here
  25  $_PX_config['debug'] = true; // Display some debug informations (execution time, number of queries)
  26  $_PX_config['session_inactive'] = 3600; // Inactivity time of a session before not valid
  27  $_PX_config['url_format'] = 'simple'; // use 'mod_rewrite' if you want nice looking URL, check plume-cms.net
  28                                        // for details about the configuration of mod_rewrite
  29  $_PX_config['max_upload_size'] = 100 * 1024; // maximum size of uploaded file (here 100KB)                     
  30  
  31  /* Create a log of the 404 errors */
  32  $_PX_config['log404errors'] = false;
  33  
  34  /* Default status of a comment, 1: online 5:waiting for validation. */
  35  $_PX_config['comment_default_status'] = 1;
  36  
  37  /* Default size of the textarea when adding a page */
  38  $_PX_config['article_textarea_page'] = '15';
  39  
  40  /* Default size of the description textarea of an article */
  41  $_PX_config['article_textarea_description'] = '7';
  42  
  43  /* Default size of the content textarea of a news */
  44  $_PX_config['news_textarea_content'] = '12';
  45  
  46  /* Default size of the description of a category */
  47  $_PX_config['category_textarea'] = '7';
  48  
  49  /* Secret key for your Plume installation, do not give it to anybody! */
  50  $_PX_config['secret_key'] = 'put-here-random-string-!';
  51  
  52  ?>


Généré le : Mon Nov 26 11:57:01 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics