b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (Version 2.4) [ class tree: conf ] [ index: conf ] [ all elements ]

Procedural File: _basic_config.php

Source Location: /blogs/conf/_basic_config.php

Page Details

This is b2evolution's basic config file.

You need to edit this file to your settings before attempting to install the database! Last significant changes to this file: version 1.6

Reminder: every line starting with # or // is a comment, multiline comments are surrounded by '/*' and '* /' (without space).

IMPORTANT: Take special care not to erase quotes (') around text parameters and semicolums (;) at the end of the lines. Otherwise you'll get some "unexpected T_STRING" parse errors!

Contributors: you should override this file by creating a file named _config_TEST.php (see end of this file).

Filesource:  Source Code for this file
Globals
string   $baseurl [line 97]

$baseurl is where your blogs reside by default. CHECK THIS CAREFULLY or nothing will work.

It should be set to the URL where you can find the blog templates and/or the blog stub files, that means index.php, blog_b.php, etc. Note: Blogs can be in subdirectories of the baseurl. However, no blog should be outside of there, or some tricky things may fail (e-g: pingback)

IMPORTANT: If you want to test b2evolution on your local machine, do NOT use that machine's name in the $baseurl! For example, if your machine is called HOMER, do not use http://homer/b2evolution/blogs/ ! Use http://localhost/b2evolution/blogs/ instead. And log in on localhost too, not homer! If you don't, login cookies will not hold.

Default value:  'http://localhost/b2evolution/blogs/'

[ Top ]

string   $tableprefix [line 68]

the tables prefix (gets placed before each b2evo table name), use this to have multiple installations in one DB.

Default value:  'evo_'

[ Top ]



Documentation generated on Sat, 06 Mar 2010 03:27:38 +0100 by phpDocumentor 1.4.2. This site is hosted and maintained by Daniel HAHLER (Contact).