mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 23:37:39 +02:00
[feature/event-dispatcher] Delete hard dependency on composer.
Applications should not depend on package managers. PHPBB3-9550
This commit is contained in:
@@ -72,8 +72,6 @@ if (!empty($load_extensions) && function_exists('dl'))
|
||||
}
|
||||
}
|
||||
|
||||
require($phpbb_root_path . 'vendor/.composer/autoload.php');
|
||||
|
||||
// Include files
|
||||
require($phpbb_root_path . 'includes/class_loader.' . $phpEx);
|
||||
require($phpbb_root_path . 'includes/session.' . $phpEx);
|
||||
|
@@ -38,8 +38,6 @@ if (isset($_GET['avatar']))
|
||||
exit;
|
||||
}
|
||||
|
||||
require($phpbb_root_path . 'vendor/.composer/autoload.php');
|
||||
|
||||
require($phpbb_root_path . 'includes/class_loader.' . $phpEx);
|
||||
require($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);
|
||||
require($phpbb_root_path . 'includes/constants.' . $phpEx);
|
||||
|
@@ -82,8 +82,6 @@ if (!empty($load_extensions) && function_exists('dl'))
|
||||
}
|
||||
}
|
||||
|
||||
require($phpbb_root_path . 'vendor/.composer/autoload.php');
|
||||
|
||||
// Include files
|
||||
require($phpbb_root_path . 'includes/class_loader.' . $phpEx);
|
||||
require($phpbb_root_path . 'includes/session.' . $phpEx);
|
||||
|
@@ -69,8 +69,6 @@ else
|
||||
}
|
||||
@ini_set('memory_limit', $mem_limit);
|
||||
|
||||
require($phpbb_root_path . 'vendor/.composer/autoload.php');
|
||||
|
||||
// Include essential scripts
|
||||
require($phpbb_root_path . 'includes/class_loader.' . $phpEx);
|
||||
require($phpbb_root_path . 'includes/functions.' . $phpEx);
|
||||
|
@@ -12,8 +12,6 @@ $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;
|
||||
|
Reference in New Issue
Block a user