phpDocumentor pond
[ class tree: pond ] [ index: pond ] [ all elements ]

Procedural File: _main_config.php

Source Location: /qp_config/_main_config.php

Page Details

This is Quam Plures' main 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 _main_config.template.php ! You should edit _main_config.php instead. If _main_config.php doesn't exist yet, then open _main_config.template.php and SAVE it AS _main_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
Globals
string   $app_baseurl [line 90]

$app_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

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

Default value:  'http://localhost/quam-plures/'

[ Top ]

string   $app_db_tableprefix [line 61]

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

Default value:  'qp_'

[ Top ]