You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
353 B
17 lines
353 B
<?php |
|
|
|
// Sécurité |
|
if (!defined('_ECRIRE_INC_VERSION')) { |
|
return; |
|
} |
|
|
|
// Filtre permettant d'utiliser yaml_decode_file() dans un squelette |
|
function decoder_yaml($fichier, $options = []) { |
|
include_spip('inc/yaml'); |
|
return yaml_decode_file($fichier, $options); |
|
} |
|
|
|
function inc_yaml_to_array($u) { |
|
include_spip('inc/yaml'); |
|
return yaml_decode($u); |
|
}
|
|
|