mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-30 03:30:17 +02:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/10011] Tests don't work on PHP < 5.3 Conflicts: tests/security/redirect_test.php
This commit is contained in:
@@ -7,10 +7,10 @@
|
||||
*
|
||||
*/
|
||||
|
||||
require_once __DIR__ . '/base.php';
|
||||
require_once dirname(__FILE__) . '/base.php';
|
||||
|
||||
require_once __DIR__ . '/../../phpBB/includes/functions.php';
|
||||
require_once __DIR__ . '/../../phpBB/includes/session.php';
|
||||
require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php';
|
||||
require_once dirname(__FILE__) . '/../../phpBB/includes/session.php';
|
||||
|
||||
class phpbb_security_extract_current_page_test extends phpbb_security_test_base
|
||||
{
|
||||
|
@@ -7,9 +7,10 @@
|
||||
*
|
||||
*/
|
||||
|
||||
require_once __DIR__ . '/base.php';
|
||||
require_once __DIR__ . '/../../phpBB/includes/functions.php';
|
||||
require_once __DIR__ . '/../../phpBB/includes/session.php';
|
||||
require_once dirname(__FILE__) . '/base.php';
|
||||
|
||||
require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php';
|
||||
require_once dirname(__FILE__) . '/../../phpBB/includes/session.php';
|
||||
|
||||
class phpbb_security_redirect_test extends phpbb_security_test_base
|
||||
{
|
||||
@@ -29,7 +30,7 @@ class phpbb_security_redirect_test extends phpbb_security_test_base
|
||||
protected function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
||||
$GLOBALS['config'] = array(
|
||||
'force_server_vars' => '0',
|
||||
);
|
||||
@@ -56,4 +57,3 @@ class phpbb_security_redirect_test extends phpbb_security_test_base
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user