mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-08 01:36:57 +02:00
Merge remote-tracking branch 'dhruvgoel92/ticket/10703' into develop
* dhruvgoel92/ticket/10703: [ticket/10703] Added a condition to check if ext directory exists
This commit is contained in:
@@ -352,6 +352,10 @@ class phpbb_extension_manager
|
||||
public function all_available()
|
||||
{
|
||||
$available = array();
|
||||
if (!is_dir($this->phpbb_root_path . 'ext/'))
|
||||
{
|
||||
return $available;
|
||||
}
|
||||
|
||||
$iterator = new RecursiveIteratorIterator(
|
||||
new RecursiveDirectoryIterator($this->phpbb_root_path . 'ext/'),
|
||||
|
Reference in New Issue
Block a user