GX-Bug #52192 » StyleEditPHP54Fix.patch
src/StyleEdit3/api.php (revision ) | ||
---|---|---|
104 | 104 |
|
105 | 105 |
$usermodfilePath = __DIR__ . '/templates/' . $template . '/lang/' . $lang . '.*.json'; |
106 | 106 |
$files = glob($usermodfilePath); |
107 |
|
|
107 | ||
108 |
if($files === false) $files = array(); |
|
109 | ||
108 | 110 |
if(\StyleEditConfig::getAdditionalBoxesBasePath() !== null) |
109 | 111 |
{ |
110 | 112 |
$dirIterator = new \RecursiveDirectoryIterator(\StyleEditConfig::getAdditionalBoxesBasePath()); |