PHPBB_ROOT_PATH, TOTAL_USERS_ZERO, etc

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Ideas Centre
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
gmil
Registered User
Posts: 163
Joined: Mon May 27, 2013 7:12 am

PHPBB_ROOT_PATH, TOTAL_USERS_ZERO, etc

Post by gmil »

In index.php file there is code like:

Code: Select all

$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
and

Code: Select all

$l_total_user_s = ($total_users == 0) ? 'TOTAL_USERS_ZERO' : 'TOTAL_USERS_OTHER';
what is the PHPBB_ROOT_PATH, TOTAL_USERS_ZERO, etc and where are they defined?
User avatar
T0ny
Registered User
Posts: 1383
Joined: Sun Jan 29, 2006 8:42 pm
Location: Lancashire
Name: Tony

Re: PHPBB_ROOT_PATH, TOTAL_USERS_ZERO, etc

Post by T0ny »

gmil wrote:
what is the PHPBB_ROOT_PATH, TOTAL_USERS_ZERO, etc and where are they defined?
PHPBB_ROOT_PATH isn't defined anywhere. It is used by external scripts to override the default path.

TOTAL_USERS_ZERO is a language variable, defined in language/en/common.php
gmil
Registered User
Posts: 163
Joined: Mon May 27, 2013 7:12 am

Re: PHPBB_ROOT_PATH, TOTAL_USERS_ZERO, etc

Post by gmil »

Thank you T0ny
Locked

Return to “[3.0.x] Support Forum”