Changeset 9272 for extensions/AdditionalPages/maintain.inc.php
- Timestamp:
- Feb 18, 2011, 11:53:06 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AdditionalPages/maintain.inc.php
r9270 r9272 18 18 groups VARCHAR( 255 ) NULL DEFAULT NULL , 19 19 permalink VARCHAR( 64 ) NULL DEFAULT NULL , 20 standalone ENUM( "true", "false" ) NOT NULL DEFAULT "false" 20 standalone ENUM( "true", "false" ) NOT NULL DEFAULT "false" , 21 21 PRIMARY KEY (id) , 22 22 INDEX (pos) , … … 35 35 'homepage' => null, 36 36 ); 37 37 38 $query = 'INSERT INTO ' . CONFIG_TABLE . ' (param,value,comment) 38 VALUES ("additional_pages" , "'. addslashes(serialize($config)).'" , "Additional Pages config configuration");';39 VALUES ("additional_pages" , "'.pwg_db_real_escape_string(serialize($config)).'" , "Additional Pages config configuration");'; 39 40 pwg_query($query); 40 41 }
Note: See TracChangeset
for help on using the changeset viewer.