diff --git a/config.php b/config.php index bdb7e8c..8ed689d 100644 --- a/config.php +++ b/config.php @@ -9,12 +9,14 @@ function get($id) ## dbhost: IP-address or domain name where is started server MySQL. ## dbuser: Username for connect to server MySQL. ## dbpass: Password for connect to server MySQL. + ## mangos: Name database of world. ## realmd: Name database of account. ## characters: Name database of characters. ##################################################################################################*/ "dbhost" => "localhost", "dbuser" => "mangos", "dbpass" => "mangos", + "mangos" => "mangos" "realmd" => "realmd", "characters" => "characters", /*################################################################################################## @@ -27,6 +29,7 @@ function get($id) ## anim: Animation progress-bar in list-page (boolean). ## LinkAccount: Link to page on deatil view account or false if it is not necessary. ## LinkPlayer: Link to page on deatil view character or false if it is not necessary. + ## searchlimit: Limit of query for search (query, creature, item, etc). ##################################################################################################*/ "title" => "Баг-трекер", "mingm" => 3, @@ -36,6 +39,7 @@ function get($id) "anim" => false, "LinkAccount" => "http://localhost/admin/account.php?id=", "LinkPlayer" => "http://localhost/admin/player.php?guid=", + "searchlimit" => 10, /*################################################################################################## ## Announce of updates ## CheckVersion: Check new version in git page of project (boolean). @@ -43,7 +47,7 @@ function get($id) ## checkdiff: Different in days for recheck updates. ##################################################################################################*/ "CheckVersion" => false, - "version" => 16, + "version" => 17, "checkdiff" => 2 ); diff --git a/lib/html.php b/lib/html.php index 2ee684e..3c10a6f 100644 --- a/lib/html.php +++ b/lib/html.php @@ -55,7 +55,7 @@ public function send()