Révision a08833bd
Ajouté par Assos Assos il y a presque 8 ans
drupal7/sites/all/themes/adaptivetheme/at_core/inc/get.inc | ||
---|---|---|
127 | 127 |
else { |
128 | 128 |
|
129 | 129 |
// Contrib module |
130 |
$module_data = system_rebuild_module_data(); |
|
130 |
$module_data = _system_rebuild_module_data();
|
|
131 | 131 |
foreach ($module_data as $module => $data) { |
132 |
if ($data->status && !empty($data->info['stylesheets'])) { |
|
132 |
//if ($data->status && !empty($data->info['stylesheets'])) { |
|
133 |
if (module_exists($module) && !empty($data->info['stylesheets'])) { |
|
133 | 134 |
foreach ($data->info['stylesheets'] as $media => $content) { |
134 | 135 |
foreach ($content as $file) { |
135 | 136 |
$styles[$file] = array( |
... | ... | |
224 | 225 |
} |
225 | 226 |
else if (function_exists('browscap_get_browser')) { |
226 | 227 |
$browscap = browscap_get_browser(); |
227 |
if ($browscap) {
|
|
228 |
if (isset($browscap['ismobiledevice'])) {
|
|
228 | 229 |
if (filter_var($browscap['ismobiledevice'], FILTER_VALIDATE_BOOLEAN) == TRUE) { |
229 | 230 |
$browser['is_mobile'] = TRUE; |
230 | 231 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules