mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-17 22:28:46 +01:00
[ticket/12775] Update doc blocks
PHPBB3-12775
This commit is contained in:
parent
f2e8e928c0
commit
15c23e60b8
@ -23,7 +23,6 @@ if (!defined('IN_PHPBB'))
|
|||||||
require($phpbb_root_path . 'includes/startup.' . $phpEx);
|
require($phpbb_root_path . 'includes/startup.' . $phpEx);
|
||||||
require($phpbb_root_path . 'phpbb/class_loader.' . $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 = new \phpbb\class_loader('phpbb\\', "{$phpbb_root_path}phpbb/", $phpEx);
|
||||||
$phpbb_class_loader->register();
|
$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 . 'includes/startup.' . $phpEx);
|
||||||
require($phpbb_root_path . 'phpbb/class_loader.' . $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 = new \phpbb\class_loader('phpbb\\', "{$phpbb_root_path}phpbb/", $phpEx);
|
||||||
$phpbb_class_loader->register();
|
$phpbb_class_loader->register();
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ class config_php_file
|
|||||||
protected $php_ext;
|
protected $php_ext;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Indicates if the php config file has been loaded.
|
* Indicates whether the php config file has been loaded.
|
||||||
*
|
*
|
||||||
* @var bool
|
* @var bool
|
||||||
*/
|
*/
|
||||||
@ -36,7 +36,7 @@ class config_php_file
|
|||||||
protected $config_data = array();
|
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
|
* @var string
|
||||||
*/
|
*/
|
||||||
@ -45,7 +45,7 @@ class config_php_file
|
|||||||
/**
|
/**
|
||||||
* Constructor
|
* 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
|
* @param string $php_ext php file extension
|
||||||
*/
|
*/
|
||||||
function __construct($phpbb_root_path, $php_ext)
|
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.
|
* @return bool|array Return the content of the config file or false if the file does not exists.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user