[ 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/ -> configweb_default.copy.php (source)

   1  <?php
   2  /**
   3   * @file configweb_default.php
   4   * Configuration file of a website. Each website has its own. 
   5   * The name of the file is:
   6   *         configweb_[id of the website].php
   7   * At the setup of PLUME CMS the "default" website is created, 
   8   * so the configweb_default.php file is also created.
   9   *
  10   * - The values proposed are calculated dynamically for the case of the default
  11   * installation with only one website and the 'manager' in a 'manager' 
  12   * subfolder of the root URL of the website. You can put some hardcoded values.
  13   */ 
  14  
  15  $_PX_website_config['website_id'] = 'default';
  16  
  17  // $_PX_website_config['document_root'] = ;
  18  $_PX_website_config['xmedia_root'] = dirname(__FILE__).'/../../xmedia';
  19  
  20  /* for example '127.0.0.1' if you have 'http://127.0.0.1/plume' */
  21  $_PX_website_config['domain'] = $_SERVER['HTTP_HOST'];
  22  
  23  /* for example '/plume' if you have 'http://127.0.0.1/plume' */
  24  $_PX_website_config['rel_url'] = www::getRelativeUrl();
  25  
  26  /* for example '/plume/xmedia' if you have 'http://127.0.0.1/plume/xmedia' */
  27  $_PX_website_config['rel_url_files'] = $_PX_website_config['rel_url'].'/xmedia';
  28  
  29  /* Is the website on a secure server or not */
  30  $_PX_website_config['secure'] = false;
  31  
  32  /* Language of the website, 'en', 'fr', 'fr_FR', etc.. */
  33  $_PX_website_config['lang'] = 'en_US';
  34  
  35  /* Theme used for the public rendering of the website. */
  36  $_PX_website_config['theme_id'] = 'default';
  37  
  38  /* Default status of a comment, 1: online 5:waiting for validation. */
  39  $_PX_website_config['comment_default_status'] = 1;
  40  
  41  /* Support of the comments: 1 - open, 2 - select per individual resource, 3 - closed. */
  42  $_PX_website_config['comment_support'] = 2;


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