aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiam McLoughlin <hexxeh@hexxeh.net>2011-07-27 22:57:51 +0100
committerLiam McLoughlin <hexxeh@hexxeh.net>2011-07-27 22:57:51 +0100
commit98125751641c779335edaaaec11c9695b4827006 (patch)
tree1919a0b99669620a049b16c6bc0f2c2f8265b2a6
parentMaking everything Zend compliant again (diff)
downloadgentoaster-98125751641c779335edaaaec11c9695b4827006.tar.gz
gentoaster-98125751641c779335edaaaec11c9695b4827006.tar.bz2
gentoaster-98125751641c779335edaaaec11c9695b4827006.zip
Remove stay database close method call
-rw-r--r--daemon.php3
-rw-r--r--res/keyboard.lst92
2 files changed, 93 insertions, 2 deletions
diff --git a/daemon.php b/daemon.php
index cac2adf..6704053 100644
--- a/daemon.php
+++ b/daemon.php
@@ -136,8 +136,7 @@
$stmt->bind_param("sds", $result, $returncode, $handle);
$stmt->execute();
$stmt->close();
- $db->close();
-
+
$query = "SELECT port FROM ports ORDER BY port DESC LIMIT 1";
$stmt = $db->prepare($query);
$stmt->execute();
diff --git a/res/keyboard.lst b/res/keyboard.lst
new file mode 100644
index 0000000..61ed3b2
--- /dev/null
+++ b/res/keyboard.lst
@@ -0,0 +1,92 @@
+ us United States
+ ad Andorra
+ af Afghanistan
+ ara Arabic
+ al Albania
+ am Armenia
+ at Austria
+ az Azerbaijan
+ by Belarus
+ be Belgium
+ bd Bangladesh
+ in India
+ ba Bosnia and Herzegovina
+ br Brazil
+ bg Bulgaria
+ ma Morocco
+ mm Myanmar
+ ca Canada
+ cd Congo, Democratic Republic of the
+ cn China
+ hr Croatia
+ cz Czechia
+ dk Denmark
+ nl Netherlands
+ bt Bhutan
+ ee Estonia
+ ir Iran
+ iq Iraq
+ fo Faroe Islands
+ fi Finland
+ fr France
+ gh Ghana
+ gn Guinea
+ ge Georgia
+ de Germany
+ gr Greece
+ hu Hungary
+ is Iceland
+ il Israel
+ it Italy
+ jp Japan
+ kg Kyrgyzstan
+ kh Cambodia
+ kz Kazakhstan
+ la Laos
+ latam Latin American
+ lt Lithuania
+ lv Latvia
+ mao Maori
+ me Montenegro
+ mk Macedonia
+ mt Malta
+ mn Mongolia
+ no Norway
+ pl Poland
+ pt Portugal
+ ro Romania
+ ru Russia
+ rs Serbia
+ si Slovenia
+ sk Slovakia
+ es Spain
+ se Sweden
+ ch Switzerland
+ sy Syria
+ tj Tajikistan
+ lk Sri Lanka
+ th Thailand
+ tr Turkey
+ tw Taiwan
+ ua Ukraine
+ gb United Kingdom
+ uz Uzbekistan
+ vn Vietnam
+ kr Korea, Republic of
+ nec_vndr/jp Japan (PC-98xx Series)
+ ie Ireland
+ pk Pakistan
+ mv Maldives
+ za South Africa
+ epo Esperanto
+ np Nepal
+ ng Nigeria
+ et Ethiopia
+ sn Senegal
+ brai Braille
+ tm Turkmenistan
+ ml Mali
+ tz Tanzania
+ ke Kenya
+ bw Botswana
+ ph Philippines