[ticket/17514] Replace phpBB3 with phpBB in phpbb namespace

PHPBB-17514
This commit is contained in:
Marc Alexander 2025-05-20 20:58:51 +02:00
parent ac233ce7ab
commit 24d4b26a82
No known key found for this signature in database
GPG key ID: 50E0D2423696F995
6 changed files with 7 additions and 7 deletions

View file

@ -21,7 +21,7 @@ use phpbb\request\type_cast_helper;
use phpbb\user; use phpbb\user;
/** /**
* Apache authentication provider for phpBB3 * Apache authentication provider for phpBB
*/ */
class apache extends base class apache extends base
{ {

View file

@ -21,7 +21,7 @@ use phpbb\passwords\manager;
use phpbb\user; use phpbb\user;
/** /**
* Database authentication provider for phpBB3 * Database authentication provider for phpBB
* This is for authentication via the integrated user table * This is for authentication via the integrated user table
*/ */
class db extends base class db extends base

View file

@ -20,7 +20,7 @@ use phpbb\language\language;
use phpbb\user; use phpbb\user;
/** /**
* Database authentication provider for phpBB3 * Database authentication provider for phpBB
* This is for authentication via the integrated user table * This is for authentication via the integrated user table
*/ */
class ldap extends base class ldap extends base

View file

@ -31,7 +31,7 @@ use phpbb\request\request_interface;
use phpbb\user; use phpbb\user;
/** /**
* OAuth authentication provider for phpBB3 * OAuth authentication provider for phpBB
*/ */
class oauth extends base class oauth extends base
{ {

View file

@ -37,7 +37,7 @@ class mssqlnative extends \phpbb\db\driver\mssql_base
// Test for driver support, to avoid suppressed fatal error // Test for driver support, to avoid suppressed fatal error
if (!function_exists('sqlsrv_connect')) 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(''); return $this->sql_error('');
} }

View file

@ -125,10 +125,10 @@ class session
$page .= '?' . $query_string; $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(); $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); $script_dirs = explode('/', $script_path);
array_splice($script_dirs, -count($page_dirs)); array_splice($script_dirs, -count($page_dirs));
$root_script_path = implode('/', $script_dirs) . (count($root_dirs) ? '/' . implode('/', $root_dirs) : ''); $root_script_path = implode('/', $script_dirs) . (count($root_dirs) ? '/' . implode('/', $root_dirs) : '');