Commit 7dbf4c1e authored by Marius Burkard's avatar Marius Burkard

- fixed warning on missing addons dir

parent c385adf5
...@@ -2828,6 +2828,9 @@ class installer_base { ...@@ -2828,6 +2828,9 @@ class installer_base {
} }
private function loadAddonClasses($path) { private function loadAddonClasses($path) {
if(!is_dir($path)) {
return false;
}
$libpath = $path; $libpath = $path;
if(($dir = opendir($libpath))) { if(($dir = opendir($libpath))) {
while(false !== ($cur = readdir($dir))) { while(false !== ($cur = readdir($dir))) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment