cvs: pear /Translation2/docs/examples settings.php
| From: | Lorenzo Alberton | Date: | Fri, 24 Dec 2004 11:32:58 +0000 |
| Subject: | cvs: pear /Translation2/docs/examples settings.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-27803@lists.php.net to get a copy of this message | ||
quipo Fri Dec 24 06:32:58 2004 EDT
Modified files:
/pear/Translation2/docs/examples settings.php
Log:
simpler settings
http://cvs.php.net/diff.php/pear/Translation2/docs/examples/settings.php?r1=1.5&r2=1.6&ty=u
Index: pear/Translation2/docs/examples/settings.php
diff -u pear/Translation2/docs/examples/settings.php:1.5
pear/Translation2/docs/examples/settings.php:1.6
--- pear/Translation2/docs/examples/settings.php:1.5 Sat Oct 30 05:27:21 2004
+++ pear/Translation2/docs/examples/settings.php Fri Dec 24 06:32:58 2004
@@ -47,16 +47,17 @@
'lang_name_col' => 'name',
'lang_meta_col' => 'meta',
'lang_errmsg_col' => 'error_text',
+ /*
'strings_tables' => array(
'en' => TABLE_PREFIX.'i18n',
'it' => TABLE_PREFIX.'i18n',
'de' => TABLE_PREFIX.'i18n',
- //'es' => TABLE_PREFIX.'i18n',
- //'fr' => TABLE_PREFIX.'i18n'
),
- 'string_id_col' => 'id',
- 'string_page_id_col' => 'page_id',
- 'string_text_col' => '%s',
+ */
+ 'strings_default_table' => 'i18n', //if you only use one table for all
langs, set it here
+ 'string_id_col' => 'id',
+ 'string_page_id_col' => 'page_id',
+ 'string_text_col' => '%s',
//'prefetch' => false //more queries, smaller result sets
//(use when db load is cheaper than network load)
);