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

Last change on this file since 12975 was 12975, checked in by Zaphod, 12 years ago

version 1.2.0

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