3 include('./../../../../config.php');
\r
5 include_once ($DIR_PLUGINS.'gallery/config.php');
\r
10 $query = 'show columns from '.sql_table('plug_gallery_album').' like "thumbnail"';
\r
11 $res = sql_query($query);
\r
12 if(!mysql_num_rows($res)) {
\r
13 $query = 'ALTER TABLE '.sql_table('plug_gallery_album').
\r
14 ' add column thumbnail varchar(100) ';
\r
18 include($DIR_PLUGINS.'gallery/update/default_templates_076.inc');
\r
20 setNPGoption('currentversion',76);
\r
22 include('np_gallery_update077.php');
\r