|
@@ -37,7 +37,7 @@ discard block |
|
|
block discarded – undo |
|
37
|
37
|
static $filecache = ''; |
|
38
|
38
|
|
|
39
|
39
|
if ($cache === '') { |
|
40
|
|
- $filecache = _DIR_TMP . 'plugin_xml_cache.gz'; |
|
|
40
|
+ $filecache = _DIR_TMP.'plugin_xml_cache.gz'; |
|
41
|
41
|
if (is_file($filecache)) { |
|
42
|
42
|
lire_fichier($filecache, $contenu); |
|
43
|
43
|
$cache = unserialize($contenu); |
|
@@ -128,7 +128,7 @@ discard block |
|
|
block discarded – undo |
|
128
|
128
|
if (isset($ret['prefix']) and $ret['prefix'] == 'spip') { |
|
129
|
129
|
$ret['procure']['php'] = ['nom' => 'php', 'version' => phpversion()]; |
|
130
|
130
|
foreach (get_loaded_extensions() as $ext) { |
|
131
|
|
- $ret['procure']['php:' . $ext] = ['nom' => 'php:' . $ext, 'version' => phpversion($ext)]; |
|
|
131
|
+ $ret['procure']['php:'.$ext] = ['nom' => 'php:'.$ext, 'version' => phpversion($ext)]; |
|
132
|
132
|
} |
|
133
|
133
|
} |
|
134
|
134
|
$diff = ($ret != $pcache); |
Please login to merge, or discard this patch.