XOOPS  2.6.0
config.image.php
Go to the documentation of this file.
1 <?php
2 /*
3  You may not change or alter any portion of this comment or credits
4  of supporting developers from this source code or any supporting source code
5  which is considered copyrighted (c) material of the original comment or credit authors.
6 
7  This program is distributed in the hope that it will be useful,
8  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 */
11 
29 return $config = array(
30  'num_chars' => 6, // Maximum characters
31  'casesensitive' => false, // Characters in image mode is case-sensitive
32  'fontsize_min' => 10, // Minimum font-size
33  'fontsize_max' => 24, // Maximum font-size
34  'background_type' => 0,
35  // Background type in image mode: 0 - bar; 1 - circle; 2 - line; 3 - rectangle; 4 - ellipse; 5 - polygon; 100 - generated from files
36  'background_num' => 50, // Number of background images to generate
37  'polygon_point' => 3,
38  'skip_characters' => array(
39  'o', '0', 'i', 'l', '1'
40  )
41 ); // characters that should not be used
return $config