Differences
This shows you the differences between the selected revision and the current version of the page.
punbb13:global_variables 2010/04/02 08:25 | punbb13:global_variables 2020/02/06 11:04 current | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== PunBB 1.3 Global Variables ====== | ====== PunBB 1.3 Global Variables ====== | ||
- | There is a number of forum variables available on every forum page. These variables are used for the page generation. To use them one have to include the FORUM_ROOT.'include/common.php' file. | + | There is a number of forum variables available on every forum page. These variables are used for the page generation. To use them one has to include the FORUM_ROOT.'include/common.php' file first. |
===== $forum_user ===== | ===== $forum_user ===== | ||
Line 12: | Line 12: | ||
* ''$forum_config['o_avatars_dir']'' is the path to the directory, where avatars are saved. | * ''$forum_config['o_avatars_dir']'' is the path to the directory, where avatars are saved. | ||
===== $forum_db ===== | ===== $forum_db ===== | ||
- | This variable is an instance of the database layer. It is used to perform SQL queries. See the [[punbb13/integration#database_helpers|database helper description]] for details. | + | This variable is an instance of the database layer. It is used to perform SQL queries. See the [[punbb13:database helpers|database helper description]] for details. |