mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/10586] Sanitize periods from class names, use manager to get path.
PHPBB3-10586
This commit is contained in:
@@ -437,7 +437,7 @@ class phpbb_extension_manager
|
||||
*/
|
||||
public function available($name)
|
||||
{
|
||||
return file_exists($this->phpbb_root_path . "ext/$name/");
|
||||
return file_exists($this->get_extension_path($name, true));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user