Changeset 11923


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

correction for Sqlite3

Location:
extensions/stripped_black_bloc/admin
Files:
2 edited

Legend:

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

    r11823 r11923  
    1414      );
    1515     
    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)");';
    19 
     16    $query = "
     17INSERT INTO " . CONFIG_TABLE . " (param,value,comment)
     18VALUES ('stripped_black_bloc' , '".pwg_db_real_escape_string(serialize($config))."' , 'color_main#column_width#thumbnail_width#thumbnail(generated - auto - piwigo)');";
    2019    pwg_query($query);
    2120  }
  • 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.