diff options
author | Urban Müller | 2023-12-21 14:38:51 +0100 |
---|---|---|
committer | Urban Müller | 2023-12-21 14:38:51 +0100 |
commit | e1a4cea217551659720102f253d9e738b46ae537 (patch) | |
tree | 038b2aa2e76858bdcb213e4bfb65a8145010c39e /it_text.class | |
parent | ffed895e8800d983e7c29188a2e28159c1e98497 (diff) | |
download | itools-e1a4cea217551659720102f253d9e738b46ae537.tar.gz itools-e1a4cea217551659720102f253d9e738b46ae537.tar.bz2 itools-e1a4cea217551659720102f253d9e738b46ae537.zip |
no need for detailed text sampling on twin
Diffstat (limited to 'it_text.class')
-rw-r--r-- | it_text.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_text.class b/it_text.class index bf52e14..04291df 100644 --- a/it_text.class +++ b/it_text.class @@ -93,7 +93,7 @@ function __construct($p = array()) $this->initlang($p['forcelanguage']); # programmer override # Create empty array to activate sampling; dont kill any existing one - if (!it::is_live() || rand(1, $_POST ? 10 : 100) == 1) + if (it::is_devel() || rand(1, $_POST ? 10 : 100) == 1) $GLOBALS['it_text_sampling'] = (array)$GLOBALS['it_text_sampling']; # Make this object available under $GLOBALS['it_text'], or add my texts to $GLOBALS['it_text'] if it exists |