mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17514] Replace phpBB3 with phpBB in phpbb namespace
PHPBB-17514
This commit is contained in:
parent
ac233ce7ab
commit
24d4b26a82
6 changed files with 7 additions and 7 deletions
|
@ -21,7 +21,7 @@ use phpbb\request\type_cast_helper;
|
|||
use phpbb\user;
|
||||
|
||||
/**
|
||||
* Apache authentication provider for phpBB3
|
||||
* Apache authentication provider for phpBB
|
||||
*/
|
||||
class apache extends base
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@ use phpbb\passwords\manager;
|
|||
use phpbb\user;
|
||||
|
||||
/**
|
||||
* Database authentication provider for phpBB3
|
||||
* Database authentication provider for phpBB
|
||||
* This is for authentication via the integrated user table
|
||||
*/
|
||||
class db extends base
|
||||
|
|
|
@ -20,7 +20,7 @@ use phpbb\language\language;
|
|||
use phpbb\user;
|
||||
|
||||
/**
|
||||
* Database authentication provider for phpBB3
|
||||
* Database authentication provider for phpBB
|
||||
* This is for authentication via the integrated user table
|
||||
*/
|
||||
class ldap extends base
|
||||
|
|
|
@ -31,7 +31,7 @@ use phpbb\request\request_interface;
|
|||
use phpbb\user;
|
||||
|
||||
/**
|
||||
* OAuth authentication provider for phpBB3
|
||||
* OAuth authentication provider for phpBB
|
||||
*/
|
||||
class oauth extends base
|
||||
{
|
||||
|
|
|
@ -37,7 +37,7 @@ class mssqlnative extends \phpbb\db\driver\mssql_base
|
|||
// Test for driver support, to avoid suppressed fatal error
|
||||
if (!function_exists('sqlsrv_connect'))
|
||||
{
|
||||
$this->connect_error = 'Native MS SQL Server driver for PHP is missing or needs to be updated. Version 1.1 or later is required to install phpBB3. You can download the driver from: http://www.microsoft.com/sqlserver/2005/en/us/PHP-Driver.aspx';
|
||||
$this->connect_error = 'Native MS SQL Server driver for PHP is missing or needs to be updated. Version 1.1 or later is required to install phpBB. You can download the driver from: http://www.microsoft.com/sqlserver/2005/en/us/PHP-Driver.aspx';
|
||||
return $this->sql_error('');
|
||||
}
|
||||
|
||||
|
|
|
@ -125,10 +125,10 @@ class session
|
|||
$page .= '?' . $query_string;
|
||||
}
|
||||
|
||||
// The script path from the webroot to the current directory (for example: /phpBB3/adm/) : always prefixed with / and ends in /
|
||||
// The script path from the webroot to the current directory (for example: /phpBB/adm/) : always prefixed with / and ends in /
|
||||
$script_path = $symfony_request->getBasePath();
|
||||
|
||||
// The script path from the webroot to the phpBB root (for example: /phpBB3/)
|
||||
// The script path from the webroot to the phpBB root (for example: /phpBB/)
|
||||
$script_dirs = explode('/', $script_path);
|
||||
array_splice($script_dirs, -count($page_dirs));
|
||||
$root_script_path = implode('/', $script_dirs) . (count($root_dirs) ? '/' . implode('/', $root_dirs) : '');
|
||||
|
|
Loading…
Add table
Reference in a new issue