mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-04 06:39:14 +02:00
[ticket/11700] Fix installation after develop merge
PHPBB3-11700
This commit is contained in:
parent
2472271bc0
commit
09cfa01d58
@ -104,7 +104,7 @@ services:
|
||||
- { name: notification.type }
|
||||
|
||||
notification.type.group_request:
|
||||
class: phpbb_notification_type_group_request
|
||||
class: phpbb\notification\type\group_request
|
||||
scope: prototype # scope MUST be prototype for this to work!
|
||||
arguments:
|
||||
- @user_loader
|
||||
@ -122,7 +122,7 @@ services:
|
||||
- { name: notification.type }
|
||||
|
||||
notification.type.group_request_approved:
|
||||
class: phpbb_notification_type_group_request_approved
|
||||
class: phpbb\notification\type\group_request_approved
|
||||
scope: prototype # scope MUST be prototype for this to work!
|
||||
arguments:
|
||||
- @user_loader
|
||||
|
@ -108,11 +108,11 @@ phpbb_include_updated('includes/utf/utf_tools.' . $phpEx);
|
||||
phpbb_require_updated('includes/functions_install.' . $phpEx);
|
||||
|
||||
// Setup class loader first
|
||||
$phpbb_class_loader_new = new \phpbb\class_loader('phpbb_', "{$phpbb_root_path}install/update/new/phpbb/", $phpEx);
|
||||
$phpbb_class_loader_new = new \phpbb\class_loader('phpbb\\', "{$phpbb_root_path}install/update/new/phpbb/", $phpEx);
|
||||
$phpbb_class_loader_new->register();
|
||||
$phpbb_class_loader = new \phpbb\class_loader('phpbb_', "{$phpbb_root_path}phpbb/", $phpEx);
|
||||
$phpbb_class_loader = new \phpbb\class_loader('phpbb\\', "{$phpbb_root_path}phpbb/", $phpEx);
|
||||
$phpbb_class_loader->register();
|
||||
$phpbb_class_loader_ext = new \phpbb\class_loader('phpbb_ext_', "{$phpbb_root_path}ext/", $phpEx);
|
||||
$phpbb_class_loader_ext = new \phpbb\class_loader('phpbb\\ext\\', "{$phpbb_root_path}ext/", $phpEx);
|
||||
$phpbb_class_loader_ext->register();
|
||||
|
||||
// Set up container
|
||||
|
2
phpBB/phpbb/cache/driver/file.php
vendored
2
phpBB/phpbb/cache/driver/file.php
vendored
@ -260,7 +260,7 @@ class file extends \phpbb\cache\driver\base
|
||||
{
|
||||
try
|
||||
{
|
||||
$iterator = new DirectoryIterator($dir);
|
||||
$iterator = new \DirectoryIterator($dir);
|
||||
}
|
||||
catch (Exception $e)
|
||||
{
|
||||
|
@ -7,7 +7,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
class phpbb_db_migration_data_310_auth_provider_oauth extends phpbb_db_migration
|
||||
namespace phpbb\db\migration\data\v310;
|
||||
|
||||
class auth_provider_oauth extends \phpbb\db\migration\migration
|
||||
{
|
||||
public function effectively_installed()
|
||||
{
|
@ -7,12 +7,14 @@
|
||||
*
|
||||
*/
|
||||
|
||||
class phpbb_db_migration_data_310_mod_rewrite extends phpbb_db_migration
|
||||
namespace phpbb\db\migration\data\v310;
|
||||
|
||||
class mod_rewrite extends \phpbb\db\migration\migration
|
||||
{
|
||||
static public function depends_on()
|
||||
{
|
||||
return array(
|
||||
'phpbb_db_migration_data_310_dev',
|
||||
'\phpbb\db\migration\data\v310\dev',
|
||||
);
|
||||
}
|
||||
|
@ -7,11 +7,13 @@
|
||||
*
|
||||
*/
|
||||
|
||||
class phpbb_db_migration_data_310_notifications_cron extends phpbb_db_migration
|
||||
namespace phpbb\db\migration\data\v310;
|
||||
|
||||
class notifications_cron extends \phpbb\db\migration\migration
|
||||
{
|
||||
static public function depends_on()
|
||||
{
|
||||
return array('phpbb_db_migration_data_310_notifications');
|
||||
return array('\phpbb\db\migration\data\v310\notifications');
|
||||
}
|
||||
|
||||
public function update_data()
|
@ -7,7 +7,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
class phpbb_db_migration_data_310_softdelete_mcp_modules extends phpbb_db_migration
|
||||
namespace phpbb\db\migration\data\v310;
|
||||
|
||||
class softdelete_mcp_modules extends \phpbb\db\migration\migration
|
||||
{
|
||||
public function effectively_installed()
|
||||
{
|
||||
@ -26,8 +28,8 @@ class phpbb_db_migration_data_310_softdelete_mcp_modules extends phpbb_db_migrat
|
||||
static public function depends_on()
|
||||
{
|
||||
return array(
|
||||
'phpbb_db_migration_data_310_dev',
|
||||
'phpbb_db_migration_data_310_softdelete_p2',
|
||||
'phpbb\db\migration\data\v310\dev',
|
||||
'phpbb\db\migration\data\v310\softdelete_p2',
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user