| @@ 49-57 (lines=9) @@ | ||
| 46 | $args = new stdClass(); |
|
| 47 | $args->layout = '.'; |
|
| 48 | $output = executeQueryArray('layout.getLayoutDotList', $args); |
|
| 49 | if($output->data && count($output->data) > 0) |
|
| 50 | { |
|
| 51 | foreach($output->data as $layout) |
|
| 52 | { |
|
| 53 | $layout_path = explode('.', $layout->layout); |
|
| 54 | if(count($layout_path) != 2) continue; |
|
| 55 | if(is_dir(sprintf(_XE_PATH_ . 'themes/%s/layouts/%s', $layout_path[0], $layout_path[1]))) return true; |
|
| 56 | } |
|
| 57 | } |
|
| 58 | ||
| 59 | $oModuleController->insertUpdatedLog($version_update_id); |
|
| 60 | } |
|
| @@ 96-104 (lines=9) @@ | ||
| 93 | ||
| 94 | $args->skin = '.'; |
|
| 95 | $output = executeQueryArray('module.getModuleSkinDotList', $args); |
|
| 96 | if($output->data && count($output->data) > 0) |
|
| 97 | { |
|
| 98 | foreach($output->data as $item) |
|
| 99 | { |
|
| 100 | $skin_path = explode('.', $item->skin); |
|
| 101 | if(count($skin_path) != 2) continue; |
|
| 102 | if(is_dir(sprintf(_XE_PATH_ . 'themes/%s/modules/%s', $skin_path[0], $skin_path[1]))) return true; |
|
| 103 | } |
|
| 104 | } |
|
| 105 | ||
| 106 | // XE 1.7 |
|
| 107 | ||