source:
extensions/stripped-slide/admin/upgrade.inc.php
@
27575
Last change on this file since 27575 was 12974, checked in by , 13 years ago | |
---|---|
File size: 439 bytes |
Line | |
---|---|
1 | <?php |
2 | |
3 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
4 | |
5 | global $prefixeTable, $conf; |
6 | |
7 | if (!isset($conf['stripped-slide'])) |
8 | { |
9 | $config = array( |
10 | 'maxHeight' => '600', |
11 | ); |
12 | |
13 | $query = " |
14 | INSERT INTO " . CONFIG_TABLE . " (param,value,comment) |
15 | VALUES ('stripped-slide' , '".pwg_db_real_escape_string(serialize($config))."' , 'stripped-slide theme parameters');"; |
16 | |
17 | pwg_query($query); |
18 | |
19 | } |
20 | |
21 | ?> |
Note: See TracBrowser
for help on using the repository browser.