Ignore:
Timestamp:
Jan 9, 2014, 1:36:32 PM (10 years ago)
Author:
mistic100
Message:

update Securimage to 3.5.1, new font, new preset, allow to use backgrounds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/CryptograPHP/maintain.inc.php

    r26072 r26554  
    3232        'width'           => 180,
    3333        'height'          => 70,
    34         'perturbation'    => 1,
    35         'image_bg_color'  => 'ffffff',
     34        'perturbation'    => 1,
     35        'background'      => 'color',
     36        'bg_color'        => 'ffffff',
     37        'bg_image'        => '',
    3638        'text_color'      => '8a8a8a',
    3739        'num_lines'       => 2,
     
    6466        $old_conf['button_color'] = 'dark';
    6567      }
     68      if (!isset($old_conf['background']))
     69      {
     70        $old_conf['background'] = 'color';
     71        $old_conf['bg_color'] = $old_conf['image_bg_color'];
     72        $old_conf['bg_image'] = '';
     73        unset($old_conf['image_bg_color']);
     74      }
    6675     
    6776      $conf['cryptographp'] = serialize($old_conf);
Note: See TracChangeset for help on using the changeset viewer.