Procedural File: _basic_config.template.php
Source Location: /blogs/conf/_basic_config.template.php
This is b2evolution's basic config file.
You do NOT need to edit this file. In most situations, the installer will do it for you. If however you are doing a MANUAL install, make sure you do NOT edit _basic_config.template.php ! You should edit _basic_config.php instead. If _basic_config.php doesn't exist yet, then open _basic_config.template.php and SAVE it AS _basic_config.php.
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 |
$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, blog1.php, blog2.php, etc. as well as admin.php. Note: Blogs can be in subdirectories of the baseurl. However, no blog should be outside of there, or some tricky things may fail (including intempestive logouts)
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/'