diff --git a/phpBB/common.php b/phpBB/common.php index 0dfd29dfdb..f6586c40fe 100644 --- a/phpBB/common.php +++ b/phpBB/common.php @@ -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(); diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index fc68235ec8..c54c84cdbc 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -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(); diff --git a/phpBB/phpbb/config_php_file.php b/phpBB/phpbb/config_php_file.php index 5a2fbca0dd..ba8d3a0d9d 100644 --- a/phpBB/phpbb/config_php_file.php +++ b/phpBB/phpbb/config_php_file.php @@ -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. */