Skip to content

Commit 7dbf4c1

Browse files
author
Marius Burkard
committed
- fixed warning on missing addons dir
1 parent c385adf commit 7dbf4c1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

install/lib/installer_base.lib.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2828,6 +2828,9 @@ protected function insert_db_credentials($tContents) {
28282828
}
28292829

28302830
private function loadAddonClasses($path) {
2831+
if(!is_dir($path)) {
2832+
return false;
2833+
}
28312834
$libpath = $path;
28322835
if(($dir = opendir($libpath))) {
28332836
while(false !== ($cur = readdir($dir))) {

0 commit comments

Comments
 (0)