mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 03:54:10 +01:00
[ticket/11335] (more) Make php_ext 'php' not '.php'
PHPBB3-11335
This commit is contained in:
parent
c870b9f43b
commit
f49993766e
@ -54,7 +54,7 @@ class acp_extensions
|
||||
// If they've specified an extension, let's load the metadata manager and validate it.
|
||||
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
|
||||
{
|
||||
|
@ -115,7 +115,7 @@ class phpbb_extension_manager_test extends phpbb_database_test_case
|
||||
new phpbb_filesystem(),
|
||||
'phpbb_ext',
|
||||
dirname(__FILE__) . '/',
|
||||
'.' . $php_ext,
|
||||
$php_ext,
|
||||
($with_cache) ? new phpbb_mock_cache() : null
|
||||
);
|
||||
}
|
||||
|
@ -156,7 +156,7 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||
new phpbb_filesystem(),
|
||||
self::$config['table_prefix'] . 'ext',
|
||||
dirname(__FILE__) . '/',
|
||||
'.' . $php_ext,
|
||||
$php_ext,
|
||||
$this->get_cache_driver()
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user