mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/event-dispatcher] Delete hard dependency on composer.
Applications should not depend on package managers. PHPBB3-9550
This commit is contained in:
parent
ae984025f0
commit
0af7d610c0
5 changed files with 0 additions and 10 deletions
|
@ -72,8 +72,6 @@ if (!empty($load_extensions) && function_exists('dl'))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
require($phpbb_root_path . 'vendor/.composer/autoload.php');
|
|
||||||
|
|
||||||
// Include files
|
// Include files
|
||||||
require($phpbb_root_path . 'includes/class_loader.' . $phpEx);
|
require($phpbb_root_path . 'includes/class_loader.' . $phpEx);
|
||||||
require($phpbb_root_path . 'includes/session.' . $phpEx);
|
require($phpbb_root_path . 'includes/session.' . $phpEx);
|
||||||
|
|
|
@ -38,8 +38,6 @@ if (isset($_GET['avatar']))
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
require($phpbb_root_path . 'vendor/.composer/autoload.php');
|
|
||||||
|
|
||||||
require($phpbb_root_path . 'includes/class_loader.' . $phpEx);
|
require($phpbb_root_path . 'includes/class_loader.' . $phpEx);
|
||||||
require($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);
|
require($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);
|
||||||
require($phpbb_root_path . 'includes/constants.' . $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
|
// Include files
|
||||||
require($phpbb_root_path . 'includes/class_loader.' . $phpEx);
|
require($phpbb_root_path . 'includes/class_loader.' . $phpEx);
|
||||||
require($phpbb_root_path . 'includes/session.' . $phpEx);
|
require($phpbb_root_path . 'includes/session.' . $phpEx);
|
||||||
|
|
|
@ -69,8 +69,6 @@ else
|
||||||
}
|
}
|
||||||
@ini_set('memory_limit', $mem_limit);
|
@ini_set('memory_limit', $mem_limit);
|
||||||
|
|
||||||
require($phpbb_root_path . 'vendor/.composer/autoload.php');
|
|
||||||
|
|
||||||
// Include essential scripts
|
// Include essential scripts
|
||||||
require($phpbb_root_path . 'includes/class_loader.' . $phpEx);
|
require($phpbb_root_path . 'includes/class_loader.' . $phpEx);
|
||||||
require($phpbb_root_path . 'includes/functions.' . $phpEx);
|
require($phpbb_root_path . 'includes/functions.' . $phpEx);
|
||||||
|
|
|
@ -12,8 +12,6 @@ $phpbb_root_path = 'phpBB/';
|
||||||
$phpEx = 'php';
|
$phpEx = 'php';
|
||||||
require_once $phpbb_root_path . 'includes/startup.php';
|
require_once $phpbb_root_path . 'includes/startup.php';
|
||||||
|
|
||||||
require_once $phpbb_root_path . 'vendor/.composer/autoload.php';
|
|
||||||
|
|
||||||
$table_prefix = 'phpbb_';
|
$table_prefix = 'phpbb_';
|
||||||
require_once $phpbb_root_path . 'includes/constants.php';
|
require_once $phpbb_root_path . 'includes/constants.php';
|
||||||
require_once $phpbb_root_path . 'includes/class_loader.' . $phpEx;
|
require_once $phpbb_root_path . 'includes/class_loader.' . $phpEx;
|
||||||
|
|
Loading…
Add table
Reference in a new issue