b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (0.9.x) [ class tree: conf ] [ index: conf ] [ all elements ]

Procedural File: _advanced.php

Source Location: /blogs/conf/_advanced.php

Page Details

This is b2evolution's advanced config file

This file includes advanced settings for b2evolution Last significant changes to this file: version 0.9.0.11

b2evolution - http://b2evolution.net/ Released under GNU GPL License - http://b2evolution.net/about/license.html

Copyright:  (c)2003-2005 by Francois PLANQUE - http://fplanque.net/
Filesource:  Source Code for this file
Globals
string   $admin_subdir [line 319]

Location of the backoffice (admin) folder.

Default value:  'admin'

[ Top ]

string   $conf_subdir [line 309]

Location of the configuration files.

Default value:  'conf'

[ Top ]

int   $cookie_expired [line 288]

Expired-time used to erase cookies.

Default value:  time() - 86400

[ Top ]

int   $cookie_expires [line 281]

Expiration for cookies.

Value in seconds, set this to 0 if you wish to use non permanent cookies (erased when browser is closed).

Default value:  time() + 31536000

[ Top ]

string   $cookie_path [line 244]

This is the path that will be associated to cookies

That means cookies set by this b2evo install won't be seen outside of this path on the domain below

Default value:  preg_replace('#https?://[^/]+#', '', $baseurl ).'/'

[ Top ]

string   $core_subdir [line 353]

Location of the core (the "includes") files.

Default value:  'b2evocore'

[ Top ]

string   $htsrv_subdir [line 326]

Location of the HTml SeRVices folder.

Default value:  'htsrv'

[ Top ]

string   $img_subdir [line 340]

Location of the IMG folder.

Default value:  'img'

[ Top ]

string   $install_subdir [line 371]

Location of the install folder.

Default value:  'install'

[ Top ]

string   $locales_subdir [line 359]

Location of the locales folder.

Default value:  'locales'

[ Top ]

int   $minimum_comment_interval [line 33]

Minimum interval (in seconds) between consecutive comments from same IP

Default value:  30

[ Top ]

int   $online_session_timeout [line 48]

Set the length of the online session time out (in seconds).

This is for the Who's Online block.

Default value:  300

[ Top ]

string   $plugins_subdir [line 365]

Location of the plug-ins.

Default value:  'plugins'

[ Top ]

boolean   $require_name_email [line 27]

Comments: set this to 1 to require e-mail and name, or 0 to allow comments without e-mail/name

Default value:  1

[ Top ]

string   $skins_subdir [line 346]

Location of the skins folder.

Default value:  'skins'

[ Top ]

int   $stats_autoprune [line 58]

How many days of stats do you want to keep before auto pruning them?

Set to 0 to disable auto pruning

Default value:  30

[ Top ]

boolean   $use_etags [line 232]

ETags support.

Disabled by default.

This will send an ETag with every page, so we can say "Not Modified." if exactly the same page had been sent before.

Etags don't work right in some versions of IE. You won't be able to force refreshment of a page.

Default value:  0

[ Top ]

boolean   $use_gzipcompression [line 218]

GZip compression.

Disabled by default.

Can actually be done either by PHP or your webserver [default] (for example if you use Apache with mod_gzip).

  • Set this to 1 if you want PHP to do gzip compression
  • Set this to 0 if you want to let Apache do the job instead of PHP (you must enable this there)
Letting apache do the compression will make PHP debugging easier. Thus it is recommended to keep it that way.

Default value:  0

[ Top ]

boolean   $use_obhandler [line 202]

use output buffer.

This is required for gzip and ETags (see below).

Disabled by default.

Even without using gzip compression or ETags this allows to send a Content-Length.

Warning: this will prevent from sending the output progressively to the webserver. If a long page takes 2 seconds to be generated completely on a loaded server, the top of the page will only be sent after those 2 seconds, and the user won't see anything during at least 2 seconds (generation + transmission time). Without this setting, the output will be sent progressively starting at 0 seconds and the user will start seeing something earlier (0 + transmission time).

Default value:  0

[ Top ]

string   $xmlsrv_subdir [line 333]

Location of the XML SeRVices folder.

Default value:  'xmlsrv'

[ Top ]



Documentation generated on Tue, 20 May 2008 01:52:12 +0200 by phpDocumentor 1.4.2