Ignore:
Timestamp:
Jan 12, 2014, 10:03:35 PM (10 years ago)
Author:
flop25
Message:

updated for 2.5 & 2.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped-galleria/admin/upgrade.inc.php

    r12975 r26671  
    77if (!isset($conf['stripped-galleria']))
    88{
    9     $config = array(
    10         'clicknext'                                             => false,
    11         'transition'                                    => 'slide'
    12         'lightbox'                                              => 'none'
    13       );
    14      
    15     $query = "
     9  $config = array(
     10'clicknext'                                             => false,
     11'transition'                                    => 'slide',
     12'lightbox'                                              => 'none'
     13    );
     14   
     15  $query = "
    1616INSERT INTO " . CONFIG_TABLE . " (param,value,comment)
    1717VALUES ('stripped-galleria' , '".pwg_db_real_escape_string(serialize($config))."' , 'stripped-galleria theme parameters');";
    1818
    19     pwg_query($query);
    20 
     19  pwg_query($query);
     20  load_conf_from_db();
    2121}
    2222
Note: See TracChangeset for help on using the changeset viewer.