Skip to content

Commit

Permalink
#1035 Add header search option
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannick committed Dec 27, 2014
1 parent 23a3c34 commit edd6cbb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions db_update.php
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,10 @@ function stripslashes_array($array) {
if (array_key_exists('o_reading_list', $luna_config))
$db->query('DELETE FROM '.$db->prefix.'config WHERE conf_name = \'o_reading_list\'') or error('Unable to remove config value \'o_reading_list\'', __FILE__, __LINE__, $db->error());

// Since 0.2.3561: Add o_header_search feature
if (!array_key_exists('o_header_search', $luna_config))
$db->query('INSERT INTO '.$db->prefix.'config (conf_name, conf_value) VALUES (\'o_header_search\', \'1\')') or error('Unable to insert config value \'o_header_search\'', __FILE__, __LINE__, $db->error());

break;

// Preparse posts
Expand Down
1 change: 1 addition & 0 deletions include/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -1540,6 +1540,7 @@ public static function create_database($db_type, $db_host, $db_name, $db_usernam
'o_show_copyright' => 1,
'o_copyright_type' => 0,
'o_custom_copyright' => NULL,
'o_header_search' => 1,
'p_message_img_tag' => 1,
'p_message_all_caps' => 1,
'p_subject_all_caps' => 1,
Expand Down
4 changes: 2 additions & 2 deletions include/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ class Version {
const FORUM_VERSION = '0.2-dev.2015';

// The Luna Core version
const FORUM_CORE_VERSION = '0.2.3560';
const FORUM_CORE_VERSION = '0.2.3561';

// The database version number, every change in the database requires this number to go one up
const FORUM_DB_VERSION = '87.11';
const FORUM_DB_VERSION = '87.12';

// The parser version number, every change to the parser requires this number to go one up
const FORUM_PARSER_VERSION = '11.1.1';
Expand Down

0 comments on commit edd6cbb

Please sign in to comment.