Ignore:
Timestamp:
Aug 9, 2011, 2:40:00 PM (9 years ago)
Author:
flop25
Message:

correction for Sqlite3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped_black_bloc/admin/upgrade.inc.php

    r11823 r11923  
    1313        'thumbnail'                                     => 'piwigo' //generated - auto - piwigo
    1414      );
    15       
    16     $query = '
    17 INSERT INTO ' . CONFIG_TABLE . ' (param,value,comment)
    18 VALUES ("stripped_black_bloc" , "'.pwg_db_real_escape_string(serialize($config)).'" , "color_main#column_width#thumbnail_width#thumbnail(generated - auto - piwigo)");';
     15     $query = "
     16INSERT INTO " . CONFIG_TABLE . " (param,value,comment)
     17VALUES ('stripped_black_bloc' , '".pwg_db_real_escape_string(serialize($config))."' , 'color_main#column_width#thumbnail_width#thumbnail(generated - auto - piwigo)');";
     18     
    1919
    2020    pwg_query($query);
Note: See TracChangeset for help on using the changeset viewer.