Differences

This shows you the differences between the selected revision and the current version of the page.

punbb13:constants 2010/04/02 08:16 punbb13:constants 2020/02/06 11:04 current
Line 29: Line 29:
==== FORUM_VERSION ==== ==== FORUM_VERSION ====
-  * The version a code is written for. It is used only during installation and update processes. You can get the version of the forum from $forum_config['o_cur_version'].+  * The version a code is written for. It is used only during installation and update processes. You can get the version of the forum from ''$forum_config['o_cur_version']''.
==== FORUM_DB_REVISION ==== ==== FORUM_DB_REVISION ====
-  * The database revision a code is written for. It is used only during installation and update processes. You can get the DB reversion of the forum from $forum_config['o_database_revision'].+  * The database revision a code is written for. It is used only during installation and update processes. You can get the DB reversion of the forum from ''$forum_config['o_database_revision']''.
==== FORUM_NO_SET_NAMES ==== ==== FORUM_NO_SET_NAMES ====
-  * If this constant is defined, the database layer will not to send SET NAMES 'utf8' command to the database. This constant is used only to allow the update script to access non UTF-8 data.+  * If this constant is defined, the database layer will not to send ''SET NAMES 'utf8';'' query to the database. This constant is used only to allow the update script to access non UTF-8 data.
==== FORUM_ROOT ==== ==== FORUM_ROOT ====
Line 62: Line 62:
==== FORUM_CACHE_DIR ==== ==== FORUM_CACHE_DIR ====
-  * The path to the cache directory (by default it is set to FORUM_ROOT.'cache/').+  * The path to the cache directory (by default it is set to ''FORUM_ROOT.'cache/' '').
  * Example:   * Example:
<code php>define('FORUM_CACHE_DIR', '/tmp/punbb_cache');</code> <code php>define('FORUM_CACHE_DIR', '/tmp/punbb_cache');</code>

Personal Tools