diff options
| author | fukachan <fukachan> | 2005-11-29 14:05:11 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2005-11-29 14:05:11 +0000 |
| commit | a49d4a8e64ab4bfab3556adb71e551c855a83d51 (patch) | |
| tree | 4cfe876daea4a8b664c5deacfddb1d6ee494e53e /fml/doc/en/tutorial/internals | |
| parent | 4d8d34869a82ddef3e3670853f7a58190b817d89 (diff) | |
| download | fml8-a49d4a8e64ab4bfab3556adb71e551c855a83d51.tar.gz fml8-a49d4a8e64ab4bfab3556adb71e551c855a83d51.tar.bz2 fml8-a49d4a8e64ab4bfab3556adb71e551c855a83d51.zip | |
add recipe: Where directory names are defined
Diffstat (limited to 'fml/doc/en/tutorial/internals')
| -rw-r--r-- | fml/doc/en/tutorial/internals/directory.sgml | 49 |
1 files changed, 48 insertions, 1 deletions
diff --git a/fml/doc/en/tutorial/internals/directory.sgml b/fml/doc/en/tutorial/internals/directory.sgml index 5e1e1c4d..696e620b 100644 --- a/fml/doc/en/tutorial/internals/directory.sgml +++ b/fml/doc/en/tutorial/internals/directory.sgml @@ -1,5 +1,5 @@ <!-- - $FML: directory.sgml,v 1.2 2005/08/03 13:22:06 fukachan Exp $ + $FML: directory.sgml,v 1.3 2005/09/25 04:27:18 fukachan Exp $ --> @@ -45,4 +45,51 @@ It must be enough to assume that 1 million articles for one ML. </sect1> +<sect1 id="directory.recipes"> + <title> + Recipes + </title> + +<qandaset> + +<qandaentry> + +<question> +<para> +Where directory names are defined ? +</para> +</question> + +<answer> +<para> +There are default definitiions at +/usr/local/etc/fml/defaults/$VERSION/default_config.cf file. +Each config.cf of each ML overloads them. +Use fmlconf command to show the current value. +<screen> + +% fmlconf $ml_name | grep _dir + +</screen> +You can extract values from config object in a hook. +<screen> + +$_xxx_hook = q{ + my $config = $curproc->config(); + my $xxxdir = $config->{ some_where_dir }; + + ... snip ... +} + +</screen> + +</para> +</answer> + +</qandaentry> + +</qandaset> + +</sect1> + </chapter> |
