source: extensions/stripped-galleria/admin/upgrade.inc.php @ 29927

Last change on this file since 29927 was 26671, checked in by flop25, 11 years ago

updated for 2.5 & 2.6

File size: 516 bytes
RevLine 
[12975]1<?php
2
3if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
4
5global $prefixeTable, $conf;
6
7if (!isset($conf['stripped-galleria']))
8{
[26671]9  $config = array(
10'clicknext'                                             => false,
11'transition'                                    => 'slide',
12'lightbox'                                              => 'none'
13    );
14   
15  $query = "
[12975]16INSERT INTO " . CONFIG_TABLE . " (param,value,comment)
17VALUES ('stripped-galleria' , '".pwg_db_real_escape_string(serialize($config))."' , 'stripped-galleria theme parameters');";
18
[26671]19  pwg_query($query);
20  load_conf_from_db();
[12975]21}
22
23?>
Note: See TracBrowser for help on using the repository browser.