mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/12775] Update doc blocks
PHPBB3-12775
This commit is contained in:
parent
f2e8e928c0
commit
15c23e60b8
3 changed files with 4 additions and 6 deletions
|
@ -23,7 +23,6 @@ if (!defined('IN_PHPBB'))
|
|||
require($phpbb_root_path . 'includes/startup.' . $phpEx);
|
||||
require($phpbb_root_path . 'phpbb/class_loader.' . $phpEx);
|
||||
|
||||
// Setup class loader first
|
||||
$phpbb_class_loader = new \phpbb\class_loader('phpbb\\', "{$phpbb_root_path}phpbb/", $phpEx);
|
||||
$phpbb_class_loader->register();
|
||||
|
||||
|
|
|
@ -58,7 +58,6 @@ function phpbb_end_update($cache, $config)
|
|||
require($phpbb_root_path . 'includes/startup.' . $phpEx);
|
||||
require($phpbb_root_path . 'phpbb/class_loader.' . $phpEx);
|
||||
|
||||
// Setup class loader first
|
||||
$phpbb_class_loader = new \phpbb\class_loader('phpbb\\', "{$phpbb_root_path}phpbb/", $phpEx);
|
||||
$phpbb_class_loader->register();
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ class config_php_file
|
|||
protected $php_ext;
|
||||
|
||||
/**
|
||||
* Indicates if the php config file has been loaded.
|
||||
* Indicates whether the php config file has been loaded.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
|
@ -36,7 +36,7 @@ class config_php_file
|
|||
protected $config_data = array();
|
||||
|
||||
/**
|
||||
* The path to the config file. (Defaults: $phpbb_root_path . 'config.' . $php_ext)
|
||||
* The path to the config file. (Default: $phpbb_root_path . 'config.' . $php_ext)
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
|
@ -45,7 +45,7 @@ class config_php_file
|
|||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param string $phpbb_root_path Path to the phpbb includes directory.
|
||||
* @param string $phpbb_root_path phpBB Root Path
|
||||
* @param string $php_ext php file extension
|
||||
*/
|
||||
function __construct($phpbb_root_path, $php_ext)
|
||||
|
@ -67,7 +67,7 @@ class config_php_file
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns an array containing all the variables defined into the config.php file
|
||||
* Returns an associative array containing the variables defined by the config file.
|
||||
*
|
||||
* @return bool|array Return the content of the config file or false if the file does not exists.
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue