File/config.inc.php

Description

Constant definitions for MinimalWeblog

Constants
MINIMALWEBLOG_DB = 'minimalweblog' (line 54)

Name of the database for the weblog

MINIMALWEBLOG_DEBUG = 0 (line 50)

Error reporting level

0: sparse error messages, only triggered errors

1: more verbose error messages, also system warnings and notices

2: also backtraces printed

MINIMALWEBLOG_EXTERNAL_HOSTNAME = '' (line 40)

Enter the external hostname of your server here.

Presumably only needed if the server is behind a router and reached from the outside via NAT. Not used if empty. If non-empty, used to create the external URL for the RSS feed by bypassing $_SERVER['SERVER_NAME'].

MINIMALWEBLOG_HOST = 'localhost' (line 58)

Host where the weblog database resides

MINIMALWEBLOG_HOSTS_EDITING_ALLOWED = serialize(array('127.0.0.1')) (line 80)

For extra safety, define an array of hostnames or IP-addresses from which editing is allowed

Default setting: editing only allowed from localhost; should be changed if the MinimalWeblog software is installed on a remote server, which is likely to be the case. Comment out the definition to allow editing from all hosts. Thanks to sean at syoft dot com, user comment 31-Jul-2006 08:21, at www.php.net/define for his tip on how to use constants to hold arrays.

MINIMALWEBLOG_PASS = '' (line 66)

Password for the weblog database (not to be confused with the end-user password to edit the weblog)

MINIMALWEBLOG_TABLE_PREFIX = 'minimalweblog_' (line 70)

Optional prefix for minimalweblog database tables (useful if a separate database is not possible)

MINIMALWEBLOG_TIMEZONE = 'Europe/Amsterdam' (line 33)

Only necessary to enter this information under PHP >= 5.1.0RC1

MINIMALWEBLOG_USER = 'webloguser' (line 62)

Username for the weblog database

Documentation generated on Sun, 17 Jun 2007 19:20:33 +0200 by phpDocumentor 1.3.2