|
@@ -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); |
|
@@ -127,7 +127,7 @@ discard block |
|
|
block discarded – undo |
|
127
|
127
|
if (isset($ret['prefix']) and $ret['prefix'] == 'spip') { |
|
128
|
128
|
$ret['procure']['php'] = array('nom' => 'php', 'version' => phpversion()); |
|
129
|
129
|
foreach (get_loaded_extensions() as $ext) { |
|
130
|
|
- $ret['procure']['php:' . $ext] = array('nom' => 'php:' . $ext, 'version' => phpversion($ext)); |
|
|
130
|
+ $ret['procure']['php:'.$ext] = array('nom' => 'php:'.$ext, 'version' => phpversion($ext)); |
|
131
|
131
|
} |
|
132
|
132
|
} |
|
133
|
133
|
$diff = ($ret != $pcache); |
Please login to merge, or discard this patch.