| Conditions | 3 |
| Paths | 3 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 21 | // function newbbLoadLanguage(string $page, string $dirname = 'newbb') |
||
| 22 | // { |
||
| 23 | // $page = str_replace('..', '', $page); |
||
| 24 | // if (!@require_once $GLOBALS['xoops']->path("modules/{$dirname}/{$GLOBALS['xoopsConfig']['language']}/{$language}.php")) { |
||
| 25 | // if (!@require_once $GLOBALS['xoops']->path("modules/{$dirname}/language/{$language}.php")) { |
||
| 26 | // return false; |
||
| 27 | // } |
||
| 28 | // } |
||
| 29 | // |
||
| 30 | // return true; |
||
| 31 | // } |
||
| 33 |