mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/11335] (more) Make php_ext 'php' not '.php'
PHPBB3-11335
This commit is contained in:
parent
c870b9f43b
commit
f49993766e
3 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@ class acp_extensions
|
||||||
// If they've specified an extension, let's load the metadata manager and validate it.
|
// If they've specified an extension, let's load the metadata manager and validate it.
|
||||||
if ($ext_name)
|
if ($ext_name)
|
||||||
{
|
{
|
||||||
$md_manager = new phpbb_extension_metadata_manager($ext_name, $db, $phpbb_extension_manager, $phpbb_root_path, ".$phpEx", $template, $config);
|
$md_manager = new phpbb_extension_metadata_manager($ext_name, $db, $phpbb_extension_manager, $phpbb_root_path, "$phpEx", $template, $config);
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
|
@ -115,7 +115,7 @@ class phpbb_extension_manager_test extends phpbb_database_test_case
|
||||||
new phpbb_filesystem(),
|
new phpbb_filesystem(),
|
||||||
'phpbb_ext',
|
'phpbb_ext',
|
||||||
dirname(__FILE__) . '/',
|
dirname(__FILE__) . '/',
|
||||||
'.' . $php_ext,
|
$php_ext,
|
||||||
($with_cache) ? new phpbb_mock_cache() : null
|
($with_cache) ? new phpbb_mock_cache() : null
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -156,7 +156,7 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||||
new phpbb_filesystem(),
|
new phpbb_filesystem(),
|
||||||
self::$config['table_prefix'] . 'ext',
|
self::$config['table_prefix'] . 'ext',
|
||||||
dirname(__FILE__) . '/',
|
dirname(__FILE__) . '/',
|
||||||
'.' . $php_ext,
|
$php_ext,
|
||||||
$this->get_cache_driver()
|
$this->get_cache_driver()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue