mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 13:58:54 +00:00
* develop: (95 commits) [ticket/9084] Explain the logic. [ticket/10653] Call get_row_count of base class in mysql get_estimated_row_count [ticket/9813] Only get posts table row count if we detected a fulltext index. [feature/append_var] Adding test case [ticket/7432] Delete redundant reference to "appropriate menu item". [ticket/10618] Change phpBB 3 to phpBB 3.1. [ticket/10685] Refactor template test defaults for php 5.4 compatibility. [feature/append_var] Adding append_var template class function [ticket/9813] Also use estimated row count of posts table for fulltext mysql. [ticket/10653] Fix parameter to substr() in unit tests. Should be 1, not -1. [ticket/10653] Unit tests for get_row_count() and get_estimated_row_count(). [ticket/10653] Add ability to count table rows to database abstraction layer. [ticket/9813] Use table status row count only if greater than 100000 or exact. [ticket/9813] Use SHOW TABLE STATUS to get search stats for native on MySQL. [ticket/8652] Comment for also updating forum watch table in user_notification. [ticket/8652] Sending 2 emails on 2 replies [ticket/10680] Add /phpBB/ext/* to .gitignore [ticket/10672] Fix total post count language string in statistics and feed [ticket/9220] Remove margin on table.table1 so it's centered in the blue box. [ticket/10453] Fixing spacing ... Conflicts: tests/bootstrap.php
34 lines
1.1 KiB
PHP
34 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
*
|
|
* @package testing
|
|
* @copyright (c) 2008 phpBB Group
|
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
|
*
|
|
*/
|
|
|
|
define('IN_PHPBB', true);
|
|
$phpbb_root_path = 'phpBB/';
|
|
$phpEx = 'php';
|
|
require_once $phpbb_root_path . 'includes/startup.php';
|
|
|
|
require_once $phpbb_root_path . 'vendor/.composer/autoload.php';
|
|
|
|
$table_prefix = 'phpbb_';
|
|
require_once $phpbb_root_path . 'includes/constants.php';
|
|
require_once $phpbb_root_path . 'includes/class_loader.' . $phpEx;
|
|
|
|
$phpbb_class_loader_ext = new phpbb_class_loader('phpbb_ext_', $phpbb_root_path . 'ext/', ".php");
|
|
$phpbb_class_loader_ext->register();
|
|
$phpbb_class_loader = new phpbb_class_loader('phpbb_', $phpbb_root_path . 'includes/', ".php");
|
|
$phpbb_class_loader->register();
|
|
|
|
require_once 'test_framework/phpbb_test_case_helpers.php';
|
|
require_once 'test_framework/phpbb_test_case.php';
|
|
require_once 'test_framework/phpbb_database_test_case.php';
|
|
require_once 'test_framework/phpbb_database_test_connection_manager.php';
|
|
|
|
if (version_compare(PHP_VERSION, '5.3.0-dev', '>='))
|
|
{
|
|
require_once 'test_framework/phpbb_functional_test_case.php';
|
|
}
|